1
0
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:
Jordi Boggiano 2012-10-18 00:31:54 -07:00
commit fa292d1a94

View File

@ -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'])) {