mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-06 05:07:36 +02:00
Merge remote-tracking branch 'wiistriker/patch-1'
This commit is contained in:
@@ -94,7 +94,7 @@ class LineFormatter extends NormalizerFormatter
|
|||||||
|
|
||||||
$data = $this->normalize($data);
|
$data = $this->normalize($data);
|
||||||
if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
|
if (version_compare(PHP_VERSION, '5.4.0', '>=')) {
|
||||||
return $this->toJson($data);
|
return $this->toJson($data, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return str_replace('\\/', '/', json_encode($data));
|
return str_replace('\\/', '/', json_encode($data));
|
||||||
|
Reference in New Issue
Block a user