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