C# 클래스 GSF.Diagnostics.LogFileWriter

상속: IDisposable
파일 보기 프로젝트 열기: GridProtectionAlliance/gsf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FileName string

공개 메소드들

메소드 설명
Dispose ( ) : void

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

Flush ( ) : void

Flushes the stream to the disk.

LogFileWriter ( string logFileName ) : System

Creates a LogFileWriter that initially queues message

Write ( LogMessage log, bool autoFlush = true ) : void

Writes the specified log to the file

메소드 상세

Dispose() 공개 메소드

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

Flush() 공개 메소드

Flushes the stream to the disk.
public Flush ( ) : void
리턴 void

LogFileWriter() 공개 메소드

Creates a LogFileWriter that initially queues message
public LogFileWriter ( string logFileName ) : System
logFileName string
리턴 System

Write() 공개 메소드

Writes the specified log to the file
public Write ( LogMessage log, bool autoFlush = true ) : void
log LogMessage
autoFlush bool
리턴 void

프로퍼티 상세

FileName 공개적으로 프로퍼티

The file name
public string FileName
리턴 string