C# 클래스 Patterns.Logging.JsonLogValueFormatter

Provides a JSON formatter for log values.
상속: LogValueFormatterBase
파일 보기 프로젝트 열기: patterns-group/code-patterns

공개 메소드들

메소드 설명
Format ( object value ) : string

Formats the specified value.

JsonLogValueFormatter ( int maxLength = int.MaxValue, int recursionLimit = DefaultRecursionLimit ) : System

Initializes a new instance of the JsonLogValueFormatter class.

비공개 메소드들

메소드 설명
SerializeValue ( object value ) : string

메소드 상세

Format() 공개 메소드

Formats the specified value.
public Format ( object value ) : string
value object The value.
리턴 string

JsonLogValueFormatter() 공개 메소드

Initializes a new instance of the JsonLogValueFormatter class.
public JsonLogValueFormatter ( int maxLength = int.MaxValue, int recursionLimit = DefaultRecursionLimit ) : System
maxLength int The maximum length.
recursionLimit int The recursion limit.
리턴 System