mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 13:16:39 +02:00
Merge pull request #380 from arnaslu/master
Add support for multiple tags in Loggly handler
This commit is contained in:
@@ -46,6 +46,11 @@ class LogglyHandler extends AbstractProcessingHandler
|
||||
$this->tag = $tag;
|
||||
}
|
||||
|
||||
public function addTag($tag)
|
||||
{
|
||||
$this->tag = (strlen($this->tag) > 0) ? $this->tag .','. $tag : $tag;
|
||||
}
|
||||
|
||||
protected function write(array $record)
|
||||
{
|
||||
$this->send($record["formatted"], self::ENDPOINT_SINGLE);
|
||||
|
Reference in New Issue
Block a user