C# Class syslog4net.Converters.StructuredDataConverter

Converts data found within the properties of a logging event into Key/Value pairs to be displayed using syslog's Extended Data format as described in RFC 5424 section 6.3: http://tools.ietf.org/html/rfc5424#section-6.3
Inheritance: log4net.Layout.Pattern.PatternLayoutConverter
ファイルを表示 Open project: Cayan-LLC/syslog4net Class Usage Examples

Public Methods

Method Description
StructuredDataConverter ( ) : System.Diagnostics

Protected Methods

Method Description
Convert ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void

Private Methods

Method Description
AddStructuredData ( TextWriter writer, string sdParamName, string sdParamValue ) : void
HandleException ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void
SanitizeSdName ( string sdName ) : string
SanitizeSdParamValue ( string sdParamValue ) : string

Method Details

Convert() protected method

protected Convert ( TextWriter writer, log4net.Core.LoggingEvent loggingEvent ) : void
writer System.IO.TextWriter
loggingEvent log4net.Core.LoggingEvent
return void

StructuredDataConverter() public method

public StructuredDataConverter ( ) : System.Diagnostics
return System.Diagnostics