public function log($level, $message, array $data = [])
    {
        $this->getLogger()->log($level, $message, $data);
        $this->debugWriter->write($level, $message, $data);
    }
public function log($level, $message, array $data = [])
    {
        $this->getLogger()->log($level, $message, $data);
        $this->debugWriter->write($level, $message, $data);
    }
public function log ( $ level , $ message , array $ data = [ ] ) { $ this -> getLogger ( ) -> log ( $ level , $ message , $ data ) ; $ this -> debugWriter -> write ( $ level , $ message , $ data ) ; }
Adds an entry to the LogManager

@param int|string $level Log level. Value according to \TYPO3\CMS\Core\Log\LogLevel. Alternatively accepts a string.
@param string $message Log message.
@param array $data Additional data to log

@return mixed
Adds an entry to the LogManager