qqq
This commit is contained in:
@@ -169,6 +169,9 @@ class Logger implements LoggerInterface
|
|||||||
public function log($level, $message, array $context = []): void
|
public function log($level, $message, array $context = []): void
|
||||||
{
|
{
|
||||||
if (!in_array($level, $this->levels)) return;
|
if (!in_array($level, $this->levels)) return;
|
||||||
|
|
||||||
|
|
||||||
|
var_dump($message, $context);
|
||||||
$_string = "[" . now() . ']: ' . $message . PHP_EOL . $this->_string($context);
|
$_string = "[" . now() . ']: ' . $message . PHP_EOL . $this->_string($context);
|
||||||
if (str_contains($_string, 'Event::rshutdown')) {
|
if (str_contains($_string, 'Event::rshutdown')) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user