Summary
Used to wrap log messages in xml <message/> elements.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Interfaces
-
- IBuildLogger
- IBuildListener
- ISerializable
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IBuildLogger"]
click Interface0 "/api/NAnt.Core/IBuildLogger"
Type-.->Interface1["IBuildListener"]
click Interface1 "/api/NAnt.Core/IBuildListener"
Type-.->Interface2["ISerializable"]
Type["XmlLogger"]
class Type type-node
Syntax
[Serializable()]
public class XmlLogger : IBuildLogger, IBuildListener, ISerializable
Attributes
Type | Description |
---|---|
Serializable |
Constructors
Name | Summary |
---|---|
XmlLogger |
Initializes a new instance of the NAnt.Core.XmlLogger class.
|
XmlLogger |
Initializes a new instance of the NAnt.Core.XmlLogger class
with serialized data.
|
XmlLogger |
Initializes a new instance of the NAnt.Core.XmlLogger 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.
|
GetObjectData |
void |
Populates info with the data needed to serialize
the
NAnt.Core.XmlLogger instance.
|
IsJustWhiteSpace |
bool | |
MessageLogged |
void |
Signals that a message has been logged.
|
StripFormatting |
string | |
TargetFinished |
void |
Signals that a target 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.
|
ToString |
string |
Returns the contents of log captured.
|