mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-21 08:36:33 +02:00
RavenHandler handles custom checksums
This commit is contained in:
@@ -145,6 +145,14 @@ class RavenHandler extends AbstractProcessingHandler
|
||||
} else {
|
||||
$options['logger'] = $record['channel'];
|
||||
}
|
||||
if (!empty($record['extra']['checksum'])) {
|
||||
$options['checksum'] = $record['extra']['checksum'];
|
||||
unset($record['extra']['checksum']);
|
||||
}
|
||||
if (!empty($record['context']['checksum'])) {
|
||||
$options['checksum'] = $record['context']['checksum'];
|
||||
unset($record['context']['checksum']);
|
||||
}
|
||||
if (!empty($record['context'])) {
|
||||
$options['extra']['context'] = $record['context'];
|
||||
if (!empty($record['context']['user'])) {
|
||||
|
Reference in New Issue
Block a user