ConsoleDriver.

CreateLogger(string) Method

Summary

Dynamically constructs an NAnt.Core.IBuildLogger instance of the class specified.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
ConsoleDriver

Syntax

[ReflectionPermission(SecurityAction.Demand, Flags = ReflectionPermissionFlag.NoFlags)]
public static IBuildLogger CreateLogger(string typeName)

Remarks

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

Attributes

Type Description
ReflectionPermissionAttribute

Parameters

Name Type Description
typeName string The fully qualified name of the logger that should be instantiated.

Return Value

Type Description
IBuildLogger