qqq
This commit is contained in:
@@ -169,7 +169,11 @@ 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;
|
||||||
$_string = "[" . now() . ']: ' . $message . PHP_EOL . $this->_string($context);
|
|
||||||
|
var_dump($context);
|
||||||
|
$context = $this->_string($context);
|
||||||
|
var_dump($context);
|
||||||
|
$_string = "[" . now() . ']: ' . $message . PHP_EOL . $context;
|
||||||
if (str_contains($_string, 'Event::rshutdown')) {
|
if (str_contains($_string, 'Event::rshutdown')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user