DotNetMSBuildSettingsExtensions.

AddFileLogger(DotNetMSBuildSettings, MSBuildFileLoggerSettings) Method

Summary

Adds a file logger.

Syntax

public static DotNetMSBuildSettings AddFileLogger(this DotNetMSBuildSettings settings, MSBuildFileLoggerSettings fileLoggerParameters)

Remarks

Each file logger will be declared in the order added. The first file logger will match up to the /fl parameter. The next nine (max) file loggers will match up to the /fl1 through /fl9 respectively.

Parameters

Name Type Description
settings DotNetMSBuildSettings The settings.
fileLoggerParameters MSBuildFileLoggerSettings Parameters to be passed to the logger.

Return Value

Type Description
DotNetMSBuildSettings The same DotNetMSBuildSettings instance so that multiple calls can be chained.