original_string: public function write($level, $message, array $context = array())
      {
          if ($this->overflowed){
              return;
          }
  
          $backtraceLine = '';
          if ($this->logBacktrace) {
              $backtrace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 3);
              $backtrace = array_pop($backtrace);
              $backtraceLine = "{$backtrace['file']} : {$backtrace['line']}";
          }
  
          if (in_array($backtraceLine, $this->backtraces)) {
              $backtraceLine = '';
          } else {
              $this->backtraces []= $backtraceLine;
          }
  
          $this->json['rows'] []= array(
              $this->format('', $message, array('__context'=>$context)),
              $backtraceLine,
              $this->logLevelMappings[$level]
          );
  
          $this->setLastLogLine($message);
          $this->send();
      }
code: public function write($level, $message, array $context = array())
      {
          if ($this->overflowed){
              return;
          }
  
          $backtraceLine = '';
          if ($this->logBacktrace) {
              $backtrace = debug_backtrace(DEBUG_BACKTRACE_PROVIDE_OBJECT, 3);
              $backtrace = array_pop($backtrace);
              $backtraceLine = "{$backtrace['file']} : {$backtrace['line']}";
          }
  
          if (in_array($backtraceLine, $this->backtraces)) {
              $backtraceLine = '';
          } else {
              $this->backtraces []= $backtraceLine;
          }
  
          $this->json['rows'] []= array(
              $this->format('', $message, array('__context'=>$context)),
              $backtraceLine,
              $this->logLevelMappings[$level]
          );
  
          $this->setLastLogLine($message);
          $this->send();
      }
code_tokens: public function write ( $ level , $ message , array $ context = array ( ) ) { if ( $ this -> overflowed ) { return ; } $ backtraceLine = '' ; if ( $ this -> logBacktrace ) { $ backtrace = debug_backtrace ( DEBUG_BACKTRACE_PROVIDE_OBJECT , 3 ) ; $ backtrace = array_pop ( $ backtrace ) ; $ backtraceLine = "{$backtrace['file']} : {$backtrace['line']}" ; } if ( in_array ( $ backtraceLine , $ this -> backtraces ) ) { $ backtraceLine = '' ; } else { $ this -> backtraces [ ] = $ backtraceLine ; } $ this -> json [ 'rows' ] [ ] = array ( $ this -> format ( '' , $ message , array ( '__context' => $ context ) ) , $ backtraceLine , $ this -> logLevelMappings [ $ level ] ) ; $ this -> setLastLogLine ( $ message ) ; $ this -> send ( ) ; }
docstring: Write logs to the void
  
  @param mixed $level
  @param string $message
  @param array $context
  @return null
docstring_tokens: Write logs to the void