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

Show file Open project: graffen/NLog.Targets.Syslog Class Usage Examples

Public Methods

Method Description
AppendBytes ( ByteArray message, string renderedSdId, EncodingSet encodings ) : void
Render ( LogEventInfo logEvent ) : string
SdId ( SimpleLayout sdIdConfig, EnforcementConfig enforcementConfig ) : NLog.Layouts

Method Details

AppendBytes() public method

public AppendBytes ( ByteArray message, string renderedSdId, EncodingSet encodings ) : void
message ByteArray
renderedSdId string
encodings EncodingSet
return void

Render() public method

public Render ( LogEventInfo logEvent ) : string
logEvent LogEventInfo
return string

SdId() public method

public SdId ( SimpleLayout sdIdConfig, EnforcementConfig enforcementConfig ) : NLog.Layouts
sdIdConfig NLog.Layouts.SimpleLayout
enforcementConfig NLog.Targets.Syslog.Settings.EnforcementConfig
return NLog.Layouts