mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-05 04:37:38 +02:00
Fix datetime creation with microseconds
This commit is contained in:
@@ -168,7 +168,7 @@ class Logger
|
|||||||
'level' => $level,
|
'level' => $level,
|
||||||
'level_name' => self::getLevelName($level),
|
'level_name' => self::getLevelName($level),
|
||||||
'channel' => $this->name,
|
'channel' => $this->name,
|
||||||
'datetime' => \DateTime::createFromFormat('U.u', microtime(true)),
|
'datetime' => \DateTime::createFromFormat('0.u00 U', microtime()),
|
||||||
'extra' => array(),
|
'extra' => array(),
|
||||||
);
|
);
|
||||||
// check if any message will handle this message
|
// check if any message will handle this message
|
||||||
|
Reference in New Issue
Block a user