LogFile Property

NAnt SDK Documentation - v0.92 |

# CommandLineOptions.LogFile Property

Gets or sets the name of the file to log output to.

[Visual Basic]
<CommandLineArgument(Name:="logfile", ShortName:="l", Description:="Use value as name of log output file", Type:=CommandLineArgumentTypes.AtMostOnce)>
Public Property LogFile As FileInfo
[C#]
[CommandLineArgument(Name="logfile", ShortName="l", Description="Use value as name of log output file", Type=CommandLineArgumentTypes.AtMostOnce)]
public System.IO.FileInfo LogFile {get; set;}

#### Property Value

The name of the file to log output to.

#### See Also

CommandLineOptions Class | NAnt.Core Namespace