ConsoleLogger Constructor (LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter)
Collapse the table of content
Expand the table of content

ConsoleLogger Constructor (LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter)

 

Initializes the logger with alternate output handlers.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Logging
Assembly:  Microsoft.Build (in Microsoft.Build.dll)

public ConsoleLogger(
	LoggerVerbosity verbosity,
	WriteHandler write,
	ColorSetter colorSet,
	ColorResetter colorReset
)

Parameters

verbosity
Type: Microsoft.Build.Framework.LoggerVerbosity

The verbosity level.

write
Type: Microsoft.Build.Logging.WriteHandler

The write handler.

colorSet
Type: Microsoft.Build.Logging.ColorSetter

Sets the text color.

colorReset
Type: Microsoft.Build.Logging.ColorResetter

Resets the text color.

Return to top
Show:
© 2016 Microsoft