C# 클래스 NAnt.Core.DefaultLogger

상속: IBuildLogger
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

공개 메소드들

메소드 설명
BuildFinished ( object sender, BuildEventArgs e ) : void

Signals that the last target has finished.

This event will still be fired if an error occurred during the build.

BuildStarted ( object sender, BuildEventArgs e ) : void

Signals that a build has started.

This event is fired before any targets have started.

DefaultLogger ( ) : System

Initializes a new instance of the DefaultLogger class.

Flush ( ) : void

Flushes buffered build events or messages to the underlying storage.

MessageLogged ( object sender, BuildEventArgs e ) : void

Signals that a message has been logged.

Only messages with a priority higher or equal to the threshold of the logger will actually be output in the build log.

TargetFinished ( object sender, BuildEventArgs e ) : void

Signals that a task has finished.

This event will still be fired if an error occurred during the build.

TargetStarted ( object sender, BuildEventArgs e ) : void

Signals that a target has started.

TaskFinished ( object sender, BuildEventArgs e ) : void

Signals that a task has finished.

This event will still be fired if an error occurred during the build.

TaskStarted ( object sender, BuildEventArgs e ) : void

Signals that a task has started.

보호된 메소드들

메소드 설명
Log ( string message ) : void

Empty implementation which allows derived classes to receive the output that is generated in this logger.

비공개 메소드들

메소드 설명
CreateBuildEvent ( Level messageLevel, string message ) : BuildEventArgs
OutputMessage ( BuildEventArgs e ) : void

Outputs an indented message to the build log if its priority is greather than or equal to the Threshold of the logger.

OutputMessage ( BuildEventArgs e, int indentationLength ) : void

Outputs an indented message to the build log if its priority is greather than or equal to the Threshold of the logger.

OutputMessage ( Level messageLevel, string message, int indentationLength ) : void

Outputs an indented message to the build log if its priority is greather than or equal to the Threshold of the logger.

메소드 상세

BuildFinished() 공개 메소드

Signals that the last target has finished.
This event will still be fired if an error occurred during the build.
public BuildFinished ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void

BuildStarted() 공개 메소드

Signals that a build has started.
This event is fired before any targets have started.
public BuildStarted ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void

DefaultLogger() 공개 메소드

Initializes a new instance of the DefaultLogger class.
public DefaultLogger ( ) : System
리턴 System

Flush() 공개 메소드

Flushes buffered build events or messages to the underlying storage.
public Flush ( ) : void
리턴 void

Log() 보호된 메소드

Empty implementation which allows derived classes to receive the output that is generated in this logger.
protected Log ( string message ) : void
message string The message being logged.
리턴 void

MessageLogged() 공개 메소드

Signals that a message has been logged.
Only messages with a priority higher or equal to the threshold of the logger will actually be output in the build log.
public MessageLogged ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void

TargetFinished() 공개 메소드

Signals that a task has finished.
This event will still be fired if an error occurred during the build.
public TargetFinished ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void

TargetStarted() 공개 메소드

Signals that a target has started.
public TargetStarted ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void

TaskFinished() 공개 메소드

Signals that a task has finished.
This event will still be fired if an error occurred during the build.
public TaskFinished ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void

TaskStarted() 공개 메소드

Signals that a task has started.
public TaskStarted ( object sender, BuildEventArgs e ) : void
sender object The source of the event.
e BuildEventArgs A object that contains the event data.
리턴 void