mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-04 20:27:31 +02:00
fix-for-slack-record-encoding
This commit is contained in:
@@ -211,8 +211,8 @@ class SlackRecord
|
|||||||
$hasNonNumericKeys = !count(array_filter(array_keys($normalized), 'is_numeric'));
|
$hasNonNumericKeys = !count(array_filter(array_keys($normalized), 'is_numeric'));
|
||||||
|
|
||||||
return $hasSecondDimension || $hasNonNumericKeys
|
return $hasSecondDimension || $hasNonNumericKeys
|
||||||
? json_encode($normalized, $prettyPrintFlag)
|
? json_encode($normalized, $prettyPrintFlag|JSON_UNESCAPED_UNICODE)
|
||||||
: json_encode($normalized);
|
: json_encode($normalized, JSON_UNESCAPED_UNICODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user