Table of Contents

Class JsonLogFormatterData

Namespace
Microsoft.Practices.EnterpriseLibrary.Logging.Configuration
Assembly
Microsoft.Practices.EnterpriseLibrary.Logging.dll

Represents the configuration settings that describe a JsonLogFormatter object.

public class JsonLogFormatterData : FormatterData
Inheritance
JsonLogFormatterData

Constructors

JsonLogFormatterData()

Initializes a new instance of the JsonLogFormatterData class with default values.

public JsonLogFormatterData()

JsonLogFormatterData(string)

Initializes a new instance of the JsonLogFormatterData class with the specified name.

public JsonLogFormatterData(string name)

Parameters

name string

The name for the represented JsonLogFormatter object.

Properties

Formatting

Gets or sets the template that contains the tokens to replace.

public JsonFormatting Formatting { get; set; }

Property Value

JsonFormatting

Methods

BuildFormatter()

Builds the ILogFormatter object represented by this configuration object.

public override ILogFormatter BuildFormatter()

Returns

ILogFormatter

A formatter.