This commit is contained in:
as2252258@163.com
2021-08-25 01:54:43 +08:00
parent 4d2fc8af52
commit c590cb1c92
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -223,7 +223,7 @@ class BaseObject implements Configure
$message .= PHP_EOL . "\033[41;37m[" . date('Y-m-d H:i:s') . '][ERROR]: ' . $file . "\033[0m";
}
$this->logger()->critical(Logger::ERROR, [$message]);
$this->logger()->error(Logger::ERROR, [$message]);
}
}