mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 23:55:35 +08:00
replace console with logger
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user