1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-30 08:21:05 +02:00

Add JSON_PARTIAL_OUTPUT_ON_ERROR, closes #1515

This commit is contained in:
Jordi Boggiano
2020-12-10 16:22:14 +01:00
parent d356586239
commit 9ce0431191
2 changed files with 5 additions and 13 deletions

View File

@@ -13,7 +13,7 @@ namespace Monolog;
final class Utils
{
const DEFAULT_JSON_FLAGS = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRESERVE_ZERO_FRACTION | JSON_INVALID_UTF8_SUBSTITUTE;
const DEFAULT_JSON_FLAGS = JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRESERVE_ZERO_FRACTION | JSON_INVALID_UTF8_SUBSTITUTE | JSON_PARTIAL_OUTPUT_ON_ERROR;
public static function getClass(object $object): string
{