改名
This commit is contained in:
@@ -142,17 +142,16 @@ class Logger extends Component
|
|||||||
/**
|
/**
|
||||||
* @param $message
|
* @param $message
|
||||||
* @param string $method
|
* @param string $method
|
||||||
* @throws ConfigException
|
|
||||||
*/
|
*/
|
||||||
public function output($message, string $method = 'default')
|
public function output($message, string $method = 'default')
|
||||||
{
|
{
|
||||||
if ($method !== 'error' &&
|
// if ($method !== 'error' &&
|
||||||
Config::get('environment', 'pro') == 'pro') {
|
// Config::get('environment', 'pro') == 'pro') {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
if (str_contains($message, 'Event::rshutdown(): Event::wait()')) {
|
// if (str_contains($message, 'Event::rshutdown(): Event::wait()')) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
echo $message;
|
echo $message;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user