public function log($level, $message, array $context = array())
    {
        $level = static::toNumberLevel($level);

        return $this->addRecord($level, $message, $context);
    }
public function log($level, $message, array $context = array())
    {
        $level = static::toNumberLevel($level);

        return $this->addRecord($level, $message, $context);
    }
public function log ( $ level , $ message , array $ context = array ( ) ) { $ level = static :: toNumberLevel ( $ level ) ; return $ this -> addRecord ( $ level , $ message , $ context ) ; }
Adds a log record at an arbitrary level.
This method allows for compatibility with common interfaces.
@param  int|string $level The log level
@param  string $message The log message
@param  array $context The log context
@return Boolean Whether the record has been processed
Adds a log record at an arbitrary level . This method allows for compatibility with common interfaces .