C# Class Seq.Client.NLog.LogEventInfoFormatter

Afficher le fichier Open project: DimensionDataCBUSydney/seq-client Class Usage Examples

Méthodes publiques

Méthode Description
ToJson ( IEnumerable events, TextWriter payload, IList properties ) : void

Private Methods

Méthode Description
Escape ( string s ) : string
LogEventInfoFormatter ( ) : System
SanitizeKey ( string key ) : string
ToJson ( LogEventInfo loggingEvent, System.TimeSpan currentOffset, TextWriter payload, IList properties ) : void
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 méthode

public static ToJson ( IEnumerable events, TextWriter payload, IList properties ) : void
events IEnumerable
payload System.IO.TextWriter
properties IList
Résultat void