Method | Description | |
---|---|---|
Format ( |
Format the log event into the output.
|
|
JsonFormatter ( string closingDelimiter = null, bool renderMessage = false, IFormatProvider formatProvider = null ) : System |
Construct a JsonFormatter.
|
Method | Description | |
---|---|---|
AddLiteralWriter ( |
||
Escape ( string s ) : string | ||
JsonFormatter ( bool omitEnclosingObject, string closingDelimiter = null, bool renderMessage = false, IFormatProvider formatProvider = null ) : System | ||
WriteBoolean ( bool value, |
||
WriteDateTime ( System.DateTime value, |
||
WriteDictionary ( LogEventPropertyValue>.IReadOnlyDictionary |
||
WriteDouble ( double value, |
||
WriteException ( |
||
WriteJsonProperty ( string name, object value, string &precedingDelimiter, |
||
WriteLevel ( LogEventLevel level, string &delim, |
||
WriteLiteral ( object value, |
||
WriteLiteralValue ( object value, |
||
WriteMessageTemplate ( string template, string &delim, |
||
WriteOffset ( DateTimeOffset value, |
||
WriteProperties ( LogEventPropertyValue>.IReadOnlyDictionary |
||
WritePropertiesValues ( LogEventPropertyValue>.IReadOnlyDictionary |
||
WriteRenderedMessage ( string message, string &delim, |
||
WriteRenderings ( PropertyToken>.IGrouping |
||
WriteRenderingsValues ( PropertyToken>.IGrouping |
||
WriteSequence ( IEnumerable elements, |
||
WriteSingle ( float value, |
||
WriteString ( string value, |
||
WriteStructure ( string typeTag, IEnumerable |
||
WriteTimestamp ( DateTimeOffset timestamp, string &delim, |
||
WriteToString ( object number, bool quote, |
public Format ( |
||
logEvent | The event to format. | |
output | The output. | |
return | void |
public JsonFormatter ( string closingDelimiter = null, bool renderMessage = false, IFormatProvider formatProvider = null ) : System | ||
closingDelimiter | string | A string that will be written after each log event is formatted.
/// If null, |
renderMessage | bool | If true, the message will be rendered and written to the output as a /// property named RenderedMessage. |
formatProvider | IFormatProvider | Supplies culture-specific formatting information, or null. |
return | System |