original_string: protected function sync_single_log(&$buffer, $suffix)
      {
          if ( ! empty($buffer))
          {
              $this->write($buffer, $this->dir . $this->prefix . $suffix . '.log');
              $buffer = array();
          }
      }
code: protected function sync_single_log(&$buffer, $suffix)
      {
          if ( ! empty($buffer))
          {
              $this->write($buffer, $this->dir . $this->prefix . $suffix . '.log');
              $buffer = array();
          }
      }
code_tokens: protected function sync_single_log ( & $ buffer , $ suffix ) { if ( ! empty ( $ buffer ) ) { $ this -> write ( $ buffer , $ this -> dir . $ this -> prefix . $ suffix . '.log' ) ; $ buffer = array ( ) ; } }
docstring: Sync specific buffer to file
  
  @param array $buffer
  @param string $suffix log filename suffix
docstring_tokens: Sync specific buffer to file