This commit is contained in:
2023-08-02 12:42:56 +08:00
parent cb2fd761a3
commit 2e0efd6044
-3
View File
@@ -169,10 +169,7 @@ class Logger implements LoggerInterface
public function log($level, $message, array $context = []): void
{
if (!in_array($level, $this->levels)) return;
var_dump($context);
$context = $this->_string($context);
var_dump($context);
$_string = "[" . now() . ']: ' . $message . PHP_EOL . $context;
if (str_contains($_string, 'Event::rshutdown')) {
return;