C# 클래스 Catel.Logging.FileLogListener

Log listener which writes all data to a file.
상속: BatchLogListenerBase
파일 보기 프로젝트 열기: Catel/Catel 1 사용 예제들

공개 메소드들

메소드 설명
FileLogListener ( Assembly assembly = null ) : System

Initializes a new instance of the FileLogListener class.

FileLogListener ( string filePath, int maxSizeInKiloBytes, Assembly assembly = null ) : System

Initializes a new instance of the FileLogListener class.

보호된 메소드들

메소드 설명
DetermineFilePath ( string filePath ) : string

Determines the real file path.

WriteBatch ( System batchEntries ) : Task

Writes the batch of entries.

비공개 메소드들

메소드 설명
CreateCopyOfCurrentLogFile ( string filePath ) : void
Initialize ( bool initFilePath, Assembly assembly = null ) : void

메소드 상세

DetermineFilePath() 보호된 메소드

Determines the real file path.
protected DetermineFilePath ( string filePath ) : string
filePath string The file path to examine.
리턴 string

FileLogListener() 공개 메소드

Initializes a new instance of the FileLogListener class.
public FileLogListener ( Assembly assembly = null ) : System
assembly Assembly The assembly to load the product info from. If null, the entry assembly will be used.
리턴 System

FileLogListener() 공개 메소드

Initializes a new instance of the FileLogListener class.
The is null or whitespace.
public FileLogListener ( string filePath, int maxSizeInKiloBytes, Assembly assembly = null ) : System
filePath string The file path.
maxSizeInKiloBytes int The max size in kilo bytes.
assembly Assembly The assembly to load the product info from. If null, the entry assembly will be used.
리턴 System

WriteBatch() 보호된 메소드

Writes the batch of entries.
protected WriteBatch ( System batchEntries ) : Task
batchEntries System The batch entries.
리턴 Task