original_string: protected function writeLog($level, $message, $context)
      {
          if (!$this->handle) {
              $this->handle = fopen($this->getFile(), 'a');
          }
          $content = $this->formatLog($level, $message, $context);
          return (bool)fwrite($this->handle, $content);
      }
code: protected function writeLog($level, $message, $context)
      {
          if (!$this->handle) {
              $this->handle = fopen($this->getFile(), 'a');
          }
          $content = $this->formatLog($level, $message, $context);
          return (bool)fwrite($this->handle, $content);
      }
code_tokens: protected function writeLog ( $ level , $ message , $ context ) { if ( ! $ this -> handle ) { $ this -> handle = fopen ( $ this -> getFile ( ) , 'a' ) ; } $ content = $ this -> formatLog ( $ level , $ message , $ context ) ; return ( bool ) fwrite ( $ this -> handle , $ content ) ; }
docstring: Write the log message
  
  @param string $level
  @param string $message
  @param mixed $context
  @return bool
docstring_tokens: Write the log message