MSBuildSettingsExtensions.

AddFileLogger(MSBuildSettings, MSBuildFileLogger) Method

Summary

Adds a file logger. 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.

Syntax

public static MSBuildSettings AddFileLogger(this MSBuildSettings settings, MSBuildFileLogger fileLoggerParameters)

Parameters

Name Type Description
settings MSBuildSettings The settings.
fileLoggerParameters MSBuildFileLogger Parameters to be passed to the logger.

Return Value

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