IBuildLogger Interface

Summary

Interface used by NAnt to log the build output.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Interfaces
Implementing Types
graph BT Type-.->Interface0["IBuildListener"] click Interface0 "/api/NAnt.Core/IBuildListener" Type["IBuildLogger"] class Type type-node Implementing0["XmlLogger"]-.->Type click Implementing0 "/api/NAnt.Core/XmlLogger" Implementing1["MailLogger"]-.->Type click Implementing1 "/api/NAnt.Core/MailLogger" Implementing2["DefaultLogger"]-.->Type click Implementing2 "/api/NAnt.Core/DefaultLogger"

Syntax

public interface IBuildLogger : IBuildListener

Remarks

Depending on the supplied command-line arguments, NAnt will set the NAnt.Core.IBuildLogger.OutputWriter to System.Console.Out or a System.IO.StreamWriter with a file as backend store.

Properties

Name Value Summary
EmacsMode bool
Gets or sets a value indicating whether to produce emacs (and other editor) friendly output.
OutputWriter TextWriter
Gets or sets the System.IO.TextWriter to which the logger is to send its output.
Threshold Level
Gets or sets the highest level of message this logger should respond to.

Methods

Name Value Summary
Flush() void
Flushes buffered build events or messages to the underlying storage.