Permalink
Browse files

Merge pull request #125 from kamisama/master

Add microsecond precision to CubeHandler log time
  • Loading branch information...
2 parents 4b11ac0 + afe921b commit fa292d1a945ac264093e7279032cf55cda9d1019 @Seldaek committed Oct 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Monolog/Handler/CubeHandler.php
@@ -103,7 +103,7 @@ protected function write(array $record)
{
$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'])) {

0 comments on commit fa292d1

Please sign in to comment.