NAnt SDK Documentation - v0.92 |

# LogWriter Members

LogWriter overview

#### Public Instance Constructors

LogWriter Constructor | Initializes a new instance of the LogWriter class for the specified Task with the specified output level and format provider.

#### Public Instance Properties

Encoding | Gets the Encoding in which the output is written.
FormatProvider (inherited from TextWriter) | Gets an object that controls formatting.
NewLine (inherited from TextWriter) | Gets or sets the line terminator string used by the current TextWriter.

#### Public Instance Methods

Close | Closes the current writer and releases any system resources associated with the writer.
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from TextWriter) | Overloaded. Releases all resources used by the TextWriter object.
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object.
Flush | Causes any buffered data to be written to the logging infrastructure.
GetHashCode (inherited from Object) | Serves as a hash function for a particular type.
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) | Gets the Type of the current instance.
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Object) | Returns a String that represents the current Object.
Write | Overloaded. Writes a character array to the buffer.
Write (inherited from TextWriter) | Overloaded. Writes a character to the text stream.
WriteLine | Overloaded. Writes an empty string to the logging infrastructure.
WriteLine (inherited from TextWriter) | Overloaded. Writes a character followed by a line terminator to the text stream.

#### Protected Instance Fields

CoreNewLine (inherited from TextWriter) | Stores the new line characters used for this TextWriter.

#### Protected Instance Properties

OutputLevel | Gets the Level with which messages will be output to the build log.

#### Protected Instance Methods

Dispose (inherited from TextWriter) | Overloaded. Releases the unmanaged resources used by the TextWriter and optionally releases the managed resources.
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from MarshalByRefObject) | Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object) | Overloaded. Creates a shallow copy of the current Object.

#### See Also

LogWriter Class | NAnt.Core Namespace