code: protected function streamWrite($stream, array $record)
      {
          parent::streamWrite($stream, $record);
          if ($record['message_orig']) {
              fwrite($stream, Helper::logSuffix($record['message_orig']));
          }
  
      }
docs: Write to stream
  
  @param resource $stream
  @param array    $record