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

显示文件 Open project: graffen/NLog.Targets.Syslog Class Usage Examples

Public Methods

Method Description
AppendBytes ( ByteArray message, IEnumerable sdElements, LogEventInfo logEvent, EncodingSet encodings ) : void
SdElement ( SdElementConfig sdElementConfig, EnforcementConfig enforcementConfig ) : NLog.Targets.Syslog.Policies
ToString ( ) : string
ToString ( IEnumerable sdElements ) : string

Method Details

AppendBytes() public static method

public static AppendBytes ( ByteArray message, IEnumerable sdElements, LogEventInfo logEvent, EncodingSet encodings ) : void
message ByteArray
sdElements IEnumerable
logEvent LogEventInfo
encodings EncodingSet
return void

SdElement() public method

public SdElement ( SdElementConfig sdElementConfig, EnforcementConfig enforcementConfig ) : NLog.Targets.Syslog.Policies
sdElementConfig SdElementConfig
enforcementConfig NLog.Targets.Syslog.Settings.EnforcementConfig
return NLog.Targets.Syslog.Policies

ToString() public method

public ToString ( ) : string
return string

ToString() public static method

public static ToString ( IEnumerable sdElements ) : string
sdElements IEnumerable
return string