mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Update RavenHandler.php
This commit is contained in:
@@ -130,8 +130,8 @@ class RavenHandler extends AbstractProcessingHandler
|
|||||||
$options = array();
|
$options = array();
|
||||||
$options['level'] = $this->logLevels[$record['level']];
|
$options['level'] = $this->logLevels[$record['level']];
|
||||||
$options['tags'] = array();
|
$options['tags'] = array();
|
||||||
if (!empty($record['tags'])) {
|
if (!empty($record['extra']['tags'])) {
|
||||||
$options['tags'] = array_merge($options['tags'], $record['tags']);
|
$options['tags'] = array_merge($options['tags'], $record['extra']['tags']);
|
||||||
}
|
}
|
||||||
if (!empty($record['context']['tags'])) {
|
if (!empty($record['context']['tags'])) {
|
||||||
$options['tags'] = array_merge($options['tags'], $record['context']['tags']);
|
$options['tags'] = array_merge($options['tags'], $record['context']['tags']);
|
||||||
|
Reference in New Issue
Block a user