Summary
Implementation of the default logger.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Interfaces
- Base Types
-
- Object
- Derived Types
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IBuildLogger"]
click Interface0 "/api/NAnt.Core/IBuildLogger"
Type-.->Interface1["IBuildListener"]
click Interface1 "/api/NAnt.Core/IBuildListener"
Type["DefaultLogger"]
class Type type-node
Derived0["MailLogger"]-->Type
click Derived0 "/api/NAnt.Core/MailLogger"
Syntax
[Serializable()]
public class DefaultLogger : IBuildLogger, IBuildListener
Attributes
| Type | Description |
|---|---|
| Serializable |
Constructors
| Name | Summary |
|---|---|
| DefaultLogger |
Initializes a new instance of the NAnt.Core.DefaultLogger
class.
|
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 |
|---|---|---|
| BuildFinished |
void |
Signals that the last target has finished.
|
| BuildStarted |
void |
Signals that a build has started.
|
| Flush |
void |
Flushes buffered build events or messages to the underlying storage.
|
| Log |
void |
Empty implementation which allows derived classes to receive the
output that is generated in this logger.
|
| MessageLogged |
void |
Signals that a message has been logged.
|
| TargetFinished |
void |
Signals that a task has finished.
|
| TargetStarted |
void |
Signals that a target has started.
|
| TaskFinished |
void |
Signals that a task has finished.
|
| TaskStarted |
void |
Signals that a task has started.
|
