C# Class Seq.Client.Log4Net.LoggingEventFormatter

Exibir arquivo Open project: DimensionDataCBUSydney/seq-client Class Usage Examples

Public Methods

Method Description
ToJson ( log4net.Core.LoggingEvent events, StringWriter payload ) : void

Private Methods

Method Description
Escape ( string s ) : string
LoggingEventFormatter ( ) : System
SanitizeKey ( string key ) : string
WriteBoolean ( bool value, TextWriter output ) : void
WriteDateTime ( System.DateTime value, TextWriter output ) : void
WriteJsonProperty ( string name, object value, string &precedingDelimiter, TextWriter output ) : void
WriteLiteral ( object value, TextWriter output ) : void
WriteOffset ( DateTimeOffset value, TextWriter output ) : void
WritePropertyName ( string name, TextWriter output ) : void
WriteString ( string value, TextWriter output ) : void
WriteToString ( object number, TextWriter output ) : void

Method Details

ToJson() public static method

public static ToJson ( log4net.Core.LoggingEvent events, StringWriter payload ) : void
events log4net.Core.LoggingEvent
payload System.IO.StringWriter
return void