mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-24 06:52:34 +01:00
Merge pull request #125 from kamisama/master
Add microsecond precision to CubeHandler log time
This commit is contained in:
commit
fa292d1a94
@ -103,7 +103,7 @@ class CubeHandler extends AbstractProcessingHandler
|
||||
{
|
||||
$date = $record['datetime'];
|
||||
|
||||
$data = array('time' => $date->format('Y-m-d H:i:s'));
|
||||
$data = array('time' => $date->format('Y-m-d\TH:i:s.u'));
|
||||
unset($record['datetime']);
|
||||
|
||||
if (isset($record['context']['type'])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user