public function log($level, $message, array $context = array())
    {
        if ($this->outputIsUrgent($level) || $this->isEnabled()) {
            $this->dispatch($message, $context);
        }
    }
public function log($level, $message, array $context = array())
    {
        if ($this->outputIsUrgent($level) || $this->isEnabled()) {
            $this->dispatch($message, $context);
        }
    }
public function log ( $ level , $ message , array $ context = array ( ) ) { if ( $ this -> outputIsUrgent ( $ level ) || $ this -> isEnabled ( ) ) { $ this -> dispatch ( $ message , $ context ) ; } }
Outputs a log message if necessary.

@param string $logLevel
@param string $message
@param string $context
Outputs a log message if necessary .