1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-13 16:44:23 +02: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

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