NAnt SDK Documentation - v0.92

CommandLineOptions.LoggerType Property

Gets or sets the Type of logger to add to the list of listeners.

[Visual Basic]
<CommandLineArgument(Name:="logger", ShortName:="null", Description:="Use given type as logger", Type:=CommandLineArgumentTypes.AtMostOnce)>
Public Property LoggerType As String
[C#]
[CommandLineArgument(Name="logger", ShortName="null", Description="Use given type as logger", Type=CommandLineArgumentTypes.AtMostOnce)]
public string LoggerType {get; set;}

Property Value

The Type of logger to add to the list of listeners.

Remarks

The LoggerType should derive from IBuildLogger.

See Also

CommandLineOptions Class | NAnt.Core Namespace