DotNetCoreMSBuildSettingsExtensions.

AddFileLogger(DotNetCoreMSBuildSettings, MSBuildFileLoggerSettings) Method

Summary

Adds a file logger.

Syntax

public static DotNetCoreMSBuildSettings AddFileLogger(this DotNetCoreMSBuildSettings 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 DotNetCoreMSBuildSettings The settings.
fileLoggerParameters MSBuildFileLoggerSettings Parameters to be passed to the logger.

Return Value

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