public function console($messages, $options = ConsoleOutput::VERBOSITY_NORMAL)
    {
        $time = date("Y-m-d H:i:s");

        $wid = 0;
        $processFlag = isset($this->swoole->master_pid) ? '@' : '#';
        $pid = getmypid();
        if (isset($this->swoole->worker_id) && $this->swoole->worker_id >= 0) {
            $wid = $this->swoole->worker_id;
            if ($this->swoole->taskworker) {
                $processFlag = '^'; // taskworker
            } else {
                $processFlag = '*'; // worker
            }
        }
        if (isset($this->swoole->manager_pid) && $this->swoole->manager_pid == $pid) {
            $processFlag = '$'; // manager
        }
        if (isset($this->swoole->master_pid) && $this->swoole->master_pid == $pid) {
            $processFlag = '#'; // master
        }

        $messages = sprintf("[%s %s%d.%d]<info>\tINFO\t</info>%s", $time, $processFlag, $pid, $wid, $messages);

        $this->output->writeln($messages, $options);
    }