C# 클래스 Endjin.Assembly.ChangeDetection.Infrastructure.TracerConfig

Main Class to configure trace output devices. The default instance is basically a null device.
상속: IDisposable
파일 보기 프로젝트 열기: endjin/Endjin.Assembly.ChangeDetection 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetCurrentThreadId int
IsEnabled bool
TracerConfig System
WriteTraceMessage void

공개 메소드들

메소드 설명
Dispose ( ) : void

Close the current active trace listeners in a thread safe way.

Reset ( string cfg ) : string

Re/Set trace configuration in a thread safe way by shutting down the already existing listeners and then put the new config into place.

Reset ( string cfg, bool bClearEvents ) : string

Re/Set trace configuration in a thread safe way by shutting down the already existing listeners and then put the new config into place.

비공개 메소드들

메소드 설명
GetCurrentThreadId ( ) : int
IsEnabled ( TypeHashes type, MessageTypes msgType, Level level ) : bool
TracerConfig ( string cfg ) : System
WriteTraceMessage ( string traceMsg ) : void

메소드 상세

Dispose() 공개 메소드

Close the current active trace listeners in a thread safe way.
public Dispose ( ) : void
리턴 void

Reset() 공개 정적인 메소드

Re/Set trace configuration in a thread safe way by shutting down the already existing listeners and then put the new config into place.
public static Reset ( string cfg ) : string
cfg string /// The trace string format is of the form OutputDevice;TypeFilter MessageFilter; TypeFilter /// MessageFilter; ... ///
리턴 string

Reset() 공개 정적인 메소드

Re/Set trace configuration in a thread safe way by shutting down the already existing listeners and then put the new config into place.
public static Reset ( string cfg, bool bClearEvents ) : string
cfg string /// The trace string format is of the form OutputDevice;TypeFilter MessageFilter; TypeFilter /// MessageFilter; ... ///
bClearEvents bool if true all registered trace callbacks are removed.
리턴 string