mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 14:16:42 +02:00
Replace array functions with simple string concatenation
This commit is contained in:
@@ -48,9 +48,7 @@ class LogglyHandler extends AbstractProcessingHandler
|
||||
|
||||
public function addTag($tag)
|
||||
{
|
||||
$tags = (strlen($this->tag) > 0) ? explode(',', $this->tag) : array();
|
||||
$tags[] = $tag;
|
||||
$this->tag = implode(',', $tags);
|
||||
$this->tag = (strlen($this->tag) > 0) ? $this->tag .','. $tag : $tag;
|
||||
}
|
||||
|
||||
protected function write(array $record)
|
||||
|
Reference in New Issue
Block a user