C# 클래스 Predica.FimCommunication.LogContext

Provides additional information about logged operations, like adding a guid to a group of logs, making them easier to correlate in logs or adding time that passed since context was instantiated
파일 보기 프로젝트 열기: Predica/FimClient

공개 메소드들

메소드 설명
Format ( string input ) : string
LogContext ( ) : System
LogContext ( string format ) : System

Initializes LogContext instance with formatting string that will be used to compose formatted messages.

Tokenize ( string input ) : string
TokenizeTime ( string input ) : string
WithConfigFormat ( ) : LogContext

메소드 상세

Format() 공개 메소드

public Format ( string input ) : string
input string
리턴 string

LogContext() 공개 메소드

public LogContext ( ) : System
리턴 System

LogContext() 공개 메소드

Initializes LogContext instance with formatting string that will be used to compose formatted messages.
public LogContext ( string format ) : System
format string Supported plaholders: {message}, {elapsed}, {token}
리턴 System

Tokenize() 공개 메소드

public Tokenize ( string input ) : string
input string
리턴 string

TokenizeTime() 공개 메소드

public TokenizeTime ( string input ) : string
input string
리턴 string

WithConfigFormat() 공개 정적인 메소드

public static WithConfigFormat ( ) : LogContext
리턴 LogContext