Revert "改名"
This reverts commit fdf58326
This commit is contained in:
@@ -222,7 +222,7 @@ class Logger implements LoggerInterface
|
|||||||
private function _string($message, $context): string
|
private function _string($message, $context): string
|
||||||
{
|
{
|
||||||
if (!empty($context)) {
|
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;
|
return $message . PHP_EOL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user