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

@@ -6,7 +6,6 @@ namespace ZM\Event\SwooleEvent;
use Swoole\Process;
use ZM\Annotation\Swoole\SwooleHandler;
use ZM\Console\Console;
use ZM\Event\SwooleEvent;
use ZM\Utils\Manager\ProcessManager;
@@ -23,7 +22,7 @@ class OnManagerStop implements SwooleEvent
Process::kill($v->pid, SIGTERM);
}
}
Console::verbose('进程 Manager 已停止!');
logger()->debug('进程 Manager 已停止!');
ProcessManager::removeProcessState(ZM_PROCESS_MANAGER);
}
}