replace console with logger

This commit is contained in:
sunxyw
2022-06-08 23:11:17 +08:00
parent 1c40896dc0
commit 4fe74eb5fe
51 changed files with 210 additions and 245 deletions

View File

@@ -731,6 +731,6 @@ trait ContainerTrait
*/
protected function log(string $message): void
{
Console::debug($this->getLogPrefix() . $message);
logger()->debug($this->getLogPrefix() . $message);
}
}