original_string: private function toConsole($time, $level, $message, $context) {
  
          $color = static::$colors[$level];
  
          $pattern = "<%s>%s</%s>";
  
          $message = sprintf($pattern, $color, $message, $color);
  
          $this->outputcontroller->out($message);
  
          if ( !empty($context) && $this->include_context ) {
  
              $this->outputcontroller->out(sprintf($pattern, $color, var_export($context, true), $color));
  
          }
  
      }
code: private function toConsole($time, $level, $message, $context) {
  
          $color = static::$colors[$level];
  
          $pattern = "<%s>%s</%s>";
  
          $message = sprintf($pattern, $color, $message, $color);
  
          $this->outputcontroller->out($message);
  
          if ( !empty($context) && $this->include_context ) {
  
              $this->outputcontroller->out(sprintf($pattern, $color, var_export($context, true), $color));
  
          }
  
      }
code_tokens: private function toConsole ( $ time , $ level , $ message , $ context ) { $ color = static :: $ colors [ $ level ] ; $ pattern = "<%s>%s</%s>" ; $ message = sprintf ( $ pattern , $ color , $ message , $ color ) ; $ this -> outputcontroller -> out ( $ message ) ; if ( ! empty ( $ context ) && $ this -> include_context ) { $ this -> outputcontroller -> out ( sprintf ( $ pattern , $ color , var_export ( $ context , true ) , $ color ) ) ; } }
docstring: Send record to console formatting it
docstring_tokens: Send record to console formatting it