C# 클래스 NAnt.Core.LogWriter

Implements a TextWriter for writing information to the NAnt logging infrastructure.
상속: System.IO.TextWriter
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void

Closes the current writer and releases any system resources associated with the writer.

Flush ( ) : void

Causes any buffered data to be written to the logging infrastructure.

InitializeLifetimeService ( ) : Object

Obtains a lifetime service object to control the lifetime policy for this instance.

LogWriter ( NAnt.Core.Task task, Level outputLevel, IFormatProvider formatProvider ) : System

Initializes a new instance of the LogWriter class for the specified Task with the specified output level and format provider.

Write ( char chars ) : void

Writes a character array to the buffer.

Write ( string value ) : void

Writes a string to the buffer.

WriteLine ( ) : void

Writes an empty string to the logging infrastructure.

WriteLine ( string value ) : void

Writes a string to the logging infrastructure.

메소드 상세

Close() 공개 메소드

Closes the current writer and releases any system resources associated with the writer.
public Close ( ) : void
리턴 void

Flush() 공개 메소드

Causes any buffered data to be written to the logging infrastructure.
public Flush ( ) : void
리턴 void

InitializeLifetimeService() 공개 메소드

Obtains a lifetime service object to control the lifetime policy for this instance.
public InitializeLifetimeService ( ) : Object
리턴 Object

LogWriter() 공개 메소드

Initializes a new instance of the LogWriter class for the specified Task with the specified output level and format provider.
public LogWriter ( NAnt.Core.Task task, Level outputLevel, IFormatProvider formatProvider ) : System
task NAnt.Core.Task Determines the indentation level.
outputLevel Level The with which messages will be output to the build log.
formatProvider IFormatProvider An object that controls formatting.
리턴 System

Write() 공개 메소드

Writes a character array to the buffer.
public Write ( char chars ) : void
chars char The character array to write to the text stream.
리턴 void

Write() 공개 메소드

Writes a string to the buffer.
public Write ( string value ) : void
value string
리턴 void

WriteLine() 공개 메소드

Writes an empty string to the logging infrastructure.
public WriteLine ( ) : void
리턴 void

WriteLine() 공개 메소드

Writes a string to the logging infrastructure.
public WriteLine ( string value ) : void
value string The string to write. If is a null reference, only the line termination characters are written.
리턴 void