diff --git a/System/Error/Logger.php b/System/Error/Logger.php index 2be7f0f8..fc957d02 100644 --- a/System/Error/Logger.php +++ b/System/Error/Logger.php @@ -30,21 +30,6 @@ class Logger extends Component public int $worker_id; - - private Channel $channel; - - - public function init() - { - $this->channel = new Channel(5000); - Coroutine::create(function () { - while ($message = $this->channel->pop(-1)) { - echo $message; - } - }); - } - - /** * @param $message * @param string $method @@ -141,7 +126,7 @@ class Logger extends Component */ public function output($message) { - $this->channel->push($message); + echo $message; }