C# 클래스 csShared.Utils.Logger

파일 보기 프로젝트 열기: TNOCS/csTouch

공개 메소드들

메소드 설명
GetInstance ( ) : Logger
Log ( string source, string message, string content, Level level, bool showInGUI = false, bool showInEventLog = false ) : void

When logging a message, you can also show it in the GUI by setting showInGUI=true.

StartWork ( ) : void
Stat ( string key, int count = 1 ) : void
StopWork ( ) : void

비공개 메소드들

메소드 설명
BwDoWork ( object sender, DoWorkEventArgs e ) : void
BwstatDoWork ( object sender, DoWorkEventArgs e ) : void
ConvertToEventState ( Level level ) : EventState
ConvertToImageUri ( Level level ) : string
GetWriter ( ) : StreamWriter
Logger ( ) : System
SendData ( ) : void

메소드 상세

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : Logger
리턴 Logger

Log() 공개 정적인 메소드

When logging a message, you can also show it in the GUI by setting showInGUI=true.
public static Log ( string source, string message, string content, Level level, bool showInGUI = false, bool showInEventLog = false ) : void
source string
message string
content string
level Level
showInGUI bool
showInEventLog bool
리턴 void

StartWork() 공개 메소드

public StartWork ( ) : void
리턴 void

Stat() 공개 정적인 메소드

public static Stat ( string key, int count = 1 ) : void
key string
count int
리턴 void

StopWork() 공개 메소드

public StopWork ( ) : void
리턴 void