public function flush()
    {
        if (!$this->progress) {
            $this->log('');

            foreach ($this->logs as $message) {
                $this->log($message);
            }

            $this->logs = [];
        }
    }