C# 클래스 fCraft.LogRecorder

A simple way to temporarily hook into fCraft's Logger. Make sure to dispose this class when you are done recording. The easiest way to ensure that is with a using(){...} block.
상속: IDisposable
파일 보기 프로젝트 열기: GlennMR/800craft 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Stops recording the messages (cannot be resumed). This method should be called when you are done with the object. If LogRecorder is in a using() block, this will be done for you.

LogRecorder ( ) : System

Creates a recorder for errors and warnings.

LogRecorder ( bool restrictToThisThread ) : System

Creates a custom recorder.

비공개 메소드들

메소드 설명
HandleLog ( object sender, LogEventArgs e ) : void

메소드 상세

Dispose() 공개 메소드

Stops recording the messages (cannot be resumed). This method should be called when you are done with the object. If LogRecorder is in a using() block, this will be done for you.
public Dispose ( ) : void
리턴 void

LogRecorder() 공개 메소드

Creates a recorder for errors and warnings.
public LogRecorder ( ) : System
리턴 System

LogRecorder() 공개 메소드

Creates a custom recorder.
public LogRecorder ( bool restrictToThisThread ) : System
restrictToThisThread bool Whether this log recorder should limit /// recording to messages emitted from the same thread that created this object.
리턴 System