C# 클래스 SANTA.IO.Log

A class that writes information to a log file.
파일 보기 프로젝트 열기: siegleal/iSanta

공개 메소드들

메소드 설명
InitLog ( ) : void

Initializes the log by copying the existing log to a backup location.

LogError ( String message ) : void

Writes an error message to the log file.

LogInfo ( String message ) : void

Writes an informatory message to the log file.

LogWarning ( String message ) : void

Writes a warning message to the log file.

TestLog ( ) : void

A test method for the log file to make sure it writes messages and parameters correctly.

비공개 메소드들

메소드 설명
WriteLog ( String message, String parameters ) : void

Writes a log message to the log file.

메소드 상세

InitLog() 공개 정적인 메소드

Initializes the log by copying the existing log to a backup location.
public static InitLog ( ) : void
리턴 void

LogError() 공개 정적인 메소드

Writes an error message to the log file.
public static LogError ( String message ) : void
message String The message to write.
리턴 void

LogInfo() 공개 정적인 메소드

Writes an informatory message to the log file.
public static LogInfo ( String message ) : void
message String The message to write.
리턴 void

LogWarning() 공개 정적인 메소드

Writes a warning message to the log file.
public static LogWarning ( String message ) : void
message String The message to write.
리턴 void

TestLog() 공개 정적인 메소드

A test method for the log file to make sure it writes messages and parameters correctly.
public static TestLog ( ) : void
리턴 void