C# Class Serilog.Events.StructureValue

A value represented as a collection of name-value properties.
Inheritance: LogEventPropertyValue
Exibir arquivo Open project: serilog/serilog Class Usage Examples

Public Methods

Method Description
Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void

Render the value to the output.

StructureValue ( IEnumerable properties, string typeTag = null ) : System

Construct a StructureValue with the provided properties.

Private Methods

Method Description
Render ( TextWriter output, LogEventProperty property, IFormatProvider formatProvider = null ) : void

Method Details

Render() public method

Render the value to the output.
public Render ( TextWriter output, string format = null, IFormatProvider formatProvider = null ) : void
output System.IO.TextWriter The output.
format string A format string applied to the value, or null.
formatProvider IFormatProvider A format provider to apply to the value, or null to use the default.
return void

StructureValue() public method

Construct a StructureValue with the provided properties.
public StructureValue ( IEnumerable properties, string typeTag = null ) : System
properties IEnumerable The properties of the structure.
typeTag string Optionally, a piece of metadata describing the "type" of the /// structure.
return System