C# 클래스 DotNetMigrations.Contrib.TextLog.TextLog

상속: LoggerBase
파일 보기 프로젝트 열기: jpoehls/dotnetmigrations-contrib

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes of resources that were holding memory and other resources.

TextLog ( ) : System

Instantiates a new instance of the TextLog class

Write ( string message ) : void
WriteError ( string message ) : void

Writes an error message to the textual log file.

WriteLine ( string message ) : void

Write a message to the textual log file.

WriteWarning ( string message ) : void

Writes a warning message to the textual log file.

비공개 메소드들

메소드 설명
GetLogFilePath ( ) : string

Obtains the Log File path from the configuration file's AppSettings section

Initialize ( ) : void

Initializes the logfile to write to.

메소드 상세

Dispose() 공개 메소드

Disposes of resources that were holding memory and other resources.
public Dispose ( ) : void
리턴 void

TextLog() 공개 메소드

Instantiates a new instance of the TextLog class
public TextLog ( ) : System
리턴 System

Write() 공개 메소드

public Write ( string message ) : void
message string
리턴 void

WriteError() 공개 메소드

Writes an error message to the textual log file.
public WriteError ( string message ) : void
message string The error message to log.
리턴 void

WriteLine() 공개 메소드

Write a message to the textual log file.
public WriteLine ( string message ) : void
message string The message to log.
리턴 void

WriteWarning() 공개 메소드

Writes a warning message to the textual log file.
public WriteWarning ( string message ) : void
message string The warning message to log.
리턴 void