protected function log($message)
    {
        if (method_exists($this->io, 'writeError')) {
            $this->io->writeError($message);
        }
        else {
            // @codeCoverageIgnoreStart
            $this->io->write($message);
            // @codeCoverageIgnoreEn
        }
    }