C# Class NLog.Layouts.JsonAttribute

Exibir arquivo Open project: NLog/NLog Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
JsonAttribute ( ) : NLog.Config

Initializes a new instance of the JsonAttribute class.

JsonAttribute ( string name, Layout layout ) : NLog.Config

Initializes a new instance of the JsonAttribute class.

JsonAttribute ( string name, Layout layout, bool encode ) : NLog.Config

Initializes a new instance of the JsonAttribute class.

Method Details

JsonAttribute() public method

Initializes a new instance of the JsonAttribute class.
public JsonAttribute ( ) : NLog.Config
return NLog.Config

JsonAttribute() public method

Initializes a new instance of the JsonAttribute class.
public JsonAttribute ( string name, Layout layout ) : NLog.Config
name string The name of the attribute.
layout Layout The layout of the attribute's value.
return NLog.Config

JsonAttribute() public method

Initializes a new instance of the JsonAttribute class.
public JsonAttribute ( string name, Layout layout, bool encode ) : NLog.Config
name string The name of the attribute.
layout Layout The layout of the attribute's value.
encode bool Encode value with json-encode
return NLog.Config