original_string: private function log($level, $message, array $context = array())
      {
          if (isset($this->logger)) {
              $this->logger->log($level, $message, $context);
          }
      }
code: private function log($level, $message, array $context = array())
      {
          if (isset($this->logger)) {
              $this->logger->log($level, $message, $context);
          }
      }
code_tokens: private function log ( $ level , $ message , array $ context = array ( ) ) { if ( isset ( $ this -> logger ) ) { $ this -> logger -> log ( $ level , $ message , $ context ) ; } }
docstring: Add a log record if logging is enabled.
  
  @param int    $level   The logging level
  @param string $message The log message
  @param array  $context The log context
docstring_tokens: Add a log record if logging is enabled .