C# 클래스 NLog.Layouts.JsonAttribute

파일 보기 프로젝트 열기: NLog/NLog 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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.

메소드 상세

JsonAttribute() 공개 메소드

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

JsonAttribute() 공개 메소드

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.
리턴 NLog.Config

JsonAttribute() 공개 메소드

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
리턴 NLog.Config