Summary
Implements a
System.IO.TextWriter
for writing information to
the NAnt logging infrastructure.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core - Base Types
-
- TextWriter
graph BT
Type-->Base0["TextWriter"]
Type["LogWriter"]
class Type type-node
Syntax
public class LogWriter : TextWriter
Constructors
Name | Summary |
---|---|
LogWriter |
Initializes a new instance of the NAnt.Core.LogWriter class
for the specified NAnt.Core.Task with the specified output
level and format provider.
|
Properties
Name | Value | Summary |
---|---|---|
Encoding | Encoding |
Gets the
NAnt.Core.LogWriter.Encoding in which the output is written.
|
OutputLevel | Level |
Gets the
NAnt.Core.Level with which messages will be output to
the build log.
|
Methods
Name | Value | Summary |
---|---|---|
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.
|
Initialize |
Object |
Obtains a lifetime service object to control the lifetime policy for
this instance.
|
Write |
void |
Writes a character array to the buffer.
|
Write |
void |
Writes a string to the buffer.
|
WriteLine |
void |
Writes an empty string to the logging infrastructure.
|
WriteLine |
void |
Writes a string to the logging infrastructure.
|
WriteLine |
void |
Writes out a formatted string using the same semantics as
string.Format(string, object[]) .
|