]> git.mxchange.org Git - friendica.git/commitdiff
Improve the JSON output of the log entries
authorMichael <heluecht@pirati.ca>
Tue, 2 Nov 2021 08:06:55 +0000 (08:06 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 2 Nov 2021 08:06:55 +0000 (08:06 +0000)
src/Core/Logger/Type/AbstractLogger.php

index e26f1705d4d2ceb0b1a095da5507f5993992f958..e7e711d7ec3b7b52be50f7e9eec7d6270a32365f 100644 (file)
@@ -129,7 +129,7 @@ abstract class AbstractLogger implements LoggerInterface
                        }
                }
 
-               return @json_encode($output);
+               return @json_encode($output, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
        }
 
        /**