original_string: protected function log($level, $msg, $context = [])
      {
          $this->log[$level][] = $msg;
          \Log::log($level, $msg, $context);
      }
code: protected function log($level, $msg, $context = [])
      {
          $this->log[$level][] = $msg;
          \Log::log($level, $msg, $context);
      }
code_tokens: protected function log ( $ level , $ msg , $ context = [ ] ) { $ this -> log [ $ level ] [ ] = $ msg ; \ Log :: log ( $ level , $ msg , $ context ) ; }
docstring: Stores internal log and write to system log.
  
  @param string $level
  @param string $msg
  @param array  $context
docstring_tokens: Stores internal log and write to system log .