NAnt SDK Documentation - v0.92 |

# LogWriter Constructor

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

[Visual Basic]
Public Sub New( _
ByVal task As Task, _
ByVal outputLevel As Level, _
ByVal formatProvider As IFormatProvider _
)
[C#]
public LogWriter(
Task task,
Level outputLevel,
IFormatProvider formatProvider
);

#### Parameters

task
  Determines the indentation level.
outputLevel
  The Level with which messages will be output to the build log.
formatProvider
  An IFormatProvider object that controls formatting.

#### See Also

LogWriter Class | NAnt.Core Namespace