mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-08 14:16:42 +02:00
@@ -138,6 +138,12 @@ class RavenHandler extends AbstractProcessingHandler
|
|||||||
$options['tags'] = array_merge($options['tags'], $record['context']['tags']);
|
$options['tags'] = array_merge($options['tags'], $record['context']['tags']);
|
||||||
unset($record['context']['tags']);
|
unset($record['context']['tags']);
|
||||||
}
|
}
|
||||||
|
if (!empty($record['context']['logger'])) {
|
||||||
|
$options['logger'] = $record['context']['logger'];
|
||||||
|
unset($record['context']['logger']);
|
||||||
|
} else {
|
||||||
|
$options['logger'] = $record['channel'];
|
||||||
|
}
|
||||||
if (!empty($record['context'])) {
|
if (!empty($record['context'])) {
|
||||||
$options['extra']['context'] = $record['context'];
|
$options['extra']['context'] = $record['context'];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user