mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 20:27:31 +02:00
Merge pull request #60 from mlehner/microseconds
Add microseconds to the DateTime object
This commit is contained in:
@@ -168,7 +168,7 @@ class Logger
|
||||
'level' => $level,
|
||||
'level_name' => self::getLevelName($level),
|
||||
'channel' => $this->name,
|
||||
'datetime' => new \DateTime(),
|
||||
'datetime' => \DateTime::createFromFormat('U.u', microtime(true)),
|
||||
'extra' => array(),
|
||||
);
|
||||
// check if any message will handle this message
|
||||
|
Reference in New Issue
Block a user