NAnt SDK Documentation - v0.85-nightly-2005-11-09

ConsoleDriver.CreateLogger Method 

[This is preliminary documentation and subject to change.]

Dynamically constructs an IBuildLogger instance of the class specified.

[Visual Basic]
Public Shared Function CreateLogger( _
   ByVal typeName As String _
) As IBuildLogger
[C#]
public static IBuildLogger CreateLogger(
   string typeName
);

Parameters

typeName
The fully qualified name of the logger that should be instantiated.

Return Value

Missing <returns> documentation for M:NAnt.Core.ConsoleDriver.CreateLogger(System.String)

Remarks

At this point, only looks in the assembly where IBuildLogger is defined.

Exceptions

Exception TypeCondition
TypeLoadExceptionType typeName could not be loaded.
ArgumentExceptiontypeName does not implement IBuildLogger.

See Also

ConsoleDriver Class | NAnt.Core Namespace