protected function log($level, $msg, $context = [])
    {
        $this->log[$level][] = $msg;
        \Log::log($level, $msg, $context);
    }
protected function log($level, $msg, $context = [])
    {
        $this->log[$level][] = $msg;
        \Log::log($level, $msg, $context);
    }
protected function log ( $ level , $ msg , $ context = [ ] ) { $ this -> log [ $ level ] [ ] = $ msg ; \ Log :: log ( $ level , $ msg , $ context ) ; }
Stores internal log and write to system log.

@param string $level
@param string $msg
@param array  $context
Stores internal log and write to system log .