public function writeLog(\TYPO3\CMS\Core\Log\LogRecord $record)
    {
        $this->output->write(
            $this->wrapMessage(vsprintf($record->getMessage(), $record->getData()), $record->getLevel()),
            true
        );

        return $this;
    }