src/Leevel/Protocol/Server.php
protected function log(string $message, bool $force = false, string $formatTime = 'H:i:s'): void
    {
        if (!$force && !$this->daemonize()) {
            return;
        }

        fwrite(STDOUT, $this->messageTime($message, $formatTime).PHP_EOL);
    }
protected function log(string $message, bool $force = false, string $formatTime = 'H:i:s'): void
    {
        if (!$force && !$this->daemonize()) {
            return;
        }

        fwrite(STDOUT, $this->messageTime($message, $formatTime).PHP_EOL);
    }
记录日志.

@param string $message
@param bool   $force
@param string $formatTime