mirror of
https://github.com/Seldaek/monolog.git
synced 2025-02-23 22:42:38 +01:00
Merge pull request #62 from mlehner/microseconds_float
Third attempt at fixing microseconds
This commit is contained in:
commit
6c15897ac7
@ -168,7 +168,7 @@ class Logger
|
||||
'level' => $level,
|
||||
'level_name' => self::getLevelName($level),
|
||||
'channel' => $this->name,
|
||||
'datetime' => \DateTime::createFromFormat('0.u00 U', microtime()),
|
||||
'datetime' => \DateTime::createFromFormat('U.u', sprintf('%.6f', microtime(true))),
|
||||
'extra' => array(),
|
||||
);
|
||||
// check if any message will handle this message
|
||||
|
Loading…
x
Reference in New Issue
Block a user