src/Handler/StreamHandler.php
protected function streamWrite($stream, array $record)
    {
        parent::streamWrite($stream, $record);
        if ($record['message_orig']) {
            fwrite($stream, Helper::logSuffix($record['message_orig']));
        }

    }
protected function streamWrite($stream, array $record)
    {
        parent::streamWrite($stream, $record);
        if ($record['message_orig']) {
            fwrite($stream, Helper::logSuffix($record['message_orig']));
        }

    }
Write to stream

@param resource $stream
@param array    $record