C# 클래스 Support.IO.Logger

파일 보기 프로젝트 열기: nhmkdev/cardmaker

공개 메소드들

메소드 설명
AddLogLine ( string sLine ) : void

Adds a single line

AddLogLines ( string arrayLines ) : void

Adds an array of lines to the log

Clear ( ) : void

Clears the log (and log file if enabled)

EndLog ( ) : void

Concludes the log (only applies to file logging)

InitLogger ( LoggerI iLogger, bool bLogToFile ) : void

The logger must be initialized through this method.

메소드 상세

AddLogLine() 공개 정적인 메소드

Adds a single line
public static AddLogLine ( string sLine ) : void
sLine string Line to add
리턴 void

AddLogLines() 공개 정적인 메소드

Adds an array of lines to the log
public static AddLogLines ( string arrayLines ) : void
arrayLines string Strings to log
리턴 void

Clear() 공개 정적인 메소드

Clears the log (and log file if enabled)
public static Clear ( ) : void
리턴 void

EndLog() 공개 정적인 메소드

Concludes the log (only applies to file logging)
public static EndLog ( ) : void
리턴 void

InitLogger() 공개 정적인 메소드

The logger must be initialized through this method.
public static InitLogger ( LoggerI iLogger, bool bLogToFile ) : void
iLogger LoggerI An object implementing the LoggerI interface.
bLogToFile bool Flag indicating whether to log the output or not.
리턴 void