C# 클래스 Prebuild.Core.Utilities.Log

Summary description for Log.
상속: IDisposable
파일 보기 프로젝트 열기: aurora-sim/Aurora-Libs

공개 메소드들

메소드 설명
Close ( ) : void

Closes and destroys this object

Same as Dispose(true)

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Flush ( ) : void

Flushes this instance.

Log ( LogTargets target, string fileName ) : System

Initializes a new instance of the Log class.

Write ( ) : void

Writes this instance.

Write ( LogType type, string format ) : void

Writes the specified type.

Write ( string msg ) : void

Writes the specified MSG.

WriteException ( LogType type, Exception ex ) : void

Writes the exception.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Dispose objects

Will dispose managed and unmanaged resources.

메소드 상세

Close() 공개 메소드

Closes and destroys this object
Same as Dispose(true)
public Close ( ) : void
리턴 void

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Dispose objects
Will dispose managed and unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool /// If true, it will dispose close the handle ///
리턴 void

Flush() 공개 메소드

Flushes this instance.
public Flush ( ) : void
리턴 void

Log() 공개 메소드

Initializes a new instance of the Log class.
public Log ( LogTargets target, string fileName ) : System
target LogTargets The target.
fileName string Name of the file.
리턴 System

Write() 공개 메소드

Writes this instance.
public Write ( ) : void
리턴 void

Write() 공개 메소드

Writes the specified type.
public Write ( LogType type, string format ) : void
type LogType The type.
format string The format.
리턴 void

Write() 공개 메소드

Writes the specified MSG.
public Write ( string msg ) : void
msg string The MSG.
리턴 void

WriteException() 공개 메소드

Writes the exception.
public WriteException ( LogType type, Exception ex ) : void
type LogType The type.
ex System.Exception The ex.
리턴 void