Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-11 15:48:12 +08:00
parent 22560d77d6
commit f8763953c5
+1 -1
View File
@@ -222,7 +222,7 @@ class Logger implements LoggerInterface
private function _string($message, $context): string
{
if (!empty($context)) {
return $message . ' ' . PHP_EOL . print_r($context, TRUE) . PHP_EOL;
return $message . ' ' . PHP_EOL . json_encode($context, JSON_FORCE_OBJECT) . PHP_EOL;
}
return $message . PHP_EOL;
}