1
0
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:
Arnas L
2014-06-26 11:43:06 +03:00
parent 12987cfa51
commit 86c53e2ce1

View File

@@ -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)