mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-24 15:02:28 +01:00
Send datetime as a string so it can be converted to JSON.
This commit is contained in:
parent
fbf654f31d
commit
94c90ade89
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user