mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Send datetime as a string so it can be converted to JSON.
This commit is contained in:
@@ -42,7 +42,7 @@ class RollbarHandler extends AbstractProcessingHandler
|
||||
$extraData = array(
|
||||
'level' => $record['level'],
|
||||
'channel' => $record['channel'],
|
||||
'datetime' => $record['datetime'],
|
||||
'datetime' => $record['datetime']->format('U'),
|
||||
);
|
||||
|
||||
$this->rollbarNotifier->report_message(
|
||||
|
Reference in New Issue
Block a user