1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Update LineFormatter.php

This commit is contained in:
wiistriker
2013-10-23 20:14:57 +11:00
parent a8bbda7310
commit bbb0a5948f

View File

@@ -94,7 +94,7 @@ class LineFormatter extends NormalizerFormatter
$data = $this->normalize($data);
if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
return $this->toJson($data, false);
return $this->toJson($data, true);
}
return str_replace('\\/', '/', json_encode($data));