src/Translator.php
protected function log($message, $priority = Logger::DEBUG, array $extra = [])
	{
		if ($this->getLogger() === null)
		{
			return $this;
		}

		$this->getLogger()->log($priority, $message, $extra);

		return $this;
	}
protected function log($message, $priority = Logger::DEBUG, array $extra = [])
	{
		if ($this->getLogger() === null)
		{
			return $this;
		}

		$this->getLogger()->log($priority, $message, $extra);

		return $this;
	}
protected function log ( $ message , $ priority = Logger :: DEBUG , array $ extra = [ ] ) { if ( $ this -> getLogger ( ) === null ) { return $ this ; } $ this -> getLogger ( ) -> log ( $ priority , $ message , $ extra ) ; return $ this ; }
logs a message

@param string $message
@param string $priority
@param array $extra
@return self
logs a message