CommandLineOptions.

LoggerType Property

Summary

Gets or sets the System.Type of logger to add to the list of listeners.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core
Containing Type
CommandLineOptions

Syntax

[CommandLineArgument(CommandLineArgumentTypes.AtMostOnce, Name = "logger", Description = "Use given type as logger")]
public string LoggerType { get; set; }

Remarks

The NAnt.Core.CommandLineOptions.LoggerType should derive from NAnt.Core.IBuildLogger.

Attributes

Type Description
CommandLineArgumentAttribute Allows control of command line parsing.

Value

Type Description
string The System.Type of logger to add to the list of listeners.