src/EventTrait.php
public function log($level, $message, array $context = [])
    {
        parent::log($level, $message, $context);

        $this->fireLogEvent($level, $message, $context);
    }
public function log($level, $message, array $context = [])
    {
        parent::log($level, $message, $context);

        $this->fireLogEvent($level, $message, $context);
    }
public function log ( $ level , $ message , array $ context = [ ] ) { parent :: log ( $ level , $ message , $ context ) ; $ this -> fireLogEvent ( $ level , $ message , $ context ) ; }
Log a message to the logs.

@param string $level
@param mixed  $message
@param array  $context

@return void
Log a message to the logs .