C# Class NLog.Targets.Syslog.MessageCreation.Rfc5424

Inheritance: MessageBuilder
Mostrar archivo Open project: graffen/NLog.Targets.Syslog

Public Methods

Method Description
Rfc5424 ( Facility facility, Rfc5424Config rfc5424Config, EnforcementConfig enforcementConfig ) : NLog.Layouts

Protected Methods

Method Description
PrepareMessage ( ByteArray buffer, LogEventInfo logEvent, string pri, string logEntry ) : void

Private Methods

Method Description
AppendHeaderBytes ( ByteArray buffer, string pri, LogEventInfo logEvent, EncodingSet encodings ) : void
AppendLogEntryBytes ( ByteArray buffer, string logEntry, EncodingSet encodings ) : void
AppendMsgBytes ( ByteArray buffer, string logEntry, EncodingSet encodings ) : void
AppendPreambleBytes ( ByteArray buffer, EncodingSet encodings ) : void
AppendStructuredDataBytes ( ByteArray buffer, LogEventInfo logEvent, EncodingSet encodings ) : void

Method Details

PrepareMessage() protected method

protected PrepareMessage ( ByteArray buffer, LogEventInfo logEvent, string pri, string logEntry ) : void
buffer ByteArray
logEvent LogEventInfo
pri string
logEntry string
return void

Rfc5424() public method

public Rfc5424 ( Facility facility, Rfc5424Config rfc5424Config, EnforcementConfig enforcementConfig ) : NLog.Layouts
facility Facility
rfc5424Config NLog.Targets.Syslog.Settings.Rfc5424Config
enforcementConfig NLog.Targets.Syslog.Settings.EnforcementConfig
return NLog.Layouts