original_string: public function log($level, $message, array $context = [])
      {
          // Resolve category from 'context'
          $category = ArrayHelper::remove($context, 'category', $this->category);
  
          // Resolve level
          $level = ArrayHelper::getValue($this->map, $level, $this->level);
  
          $this->logger->log(
              $this->interpolate($message, $context),
              $level,
              $category
          );
      }
code: public function log($level, $message, array $context = [])
      {
          // Resolve category from 'context'
          $category = ArrayHelper::remove($context, 'category', $this->category);
  
          // Resolve level
          $level = ArrayHelper::getValue($this->map, $level, $this->level);
  
          $this->logger->log(
              $this->interpolate($message, $context),
              $level,
              $category
          );
      }
code_tokens: public function log ( $ level , $ message , array $ context = [ ] ) { // Resolve category from 'context' $ category = ArrayHelper :: remove ( $ context , 'category' , $ this -> category ) ; // Resolve level $ level = ArrayHelper :: getValue ( $ this -> map , $ level , $ this -> level ) ; $ this -> logger -> log ( $ this -> interpolate ( $ message , $ context ) , $ level , $ category ) ; }
docstring: Log a message, transforming from PSR3 to the closest Yii2.
  
  @inheritdoc
docstring_tokens: Log a message transforming from PSR3 to the closest Yii2 .