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

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

Public Methods

Method Description
Rfc3164 ( Facility facility, Rfc3164Config rfc3164Config, EnforcementConfig enforcementConfig ) : NLog.Layouts

Protected Methods

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

Private Methods

Method Description
AppendContentBytes ( ByteArray buffer, string logEntry, Encoding encoding ) : void
AppendHeaderBytes ( ByteArray buffer, LogEventInfo logEvent, Encoding encoding ) : void
AppendMsgBytes ( ByteArray buffer, LogEventInfo logEvent, string logEntry, Encoding encoding ) : void
AppendPriBytes ( ByteArray buffer, string pri, Encoding encoding ) : void
AppendTagBytes ( ByteArray buffer, LogEventInfo logEvent, Encoding encoding ) : 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

Rfc3164() public method

public Rfc3164 ( Facility facility, Rfc3164Config rfc3164Config, EnforcementConfig enforcementConfig ) : NLog.Layouts
facility Facility
rfc3164Config NLog.Targets.Syslog.Settings.Rfc3164Config
enforcementConfig NLog.Targets.Syslog.Settings.EnforcementConfig
return NLog.Layouts