ConsoleLogger Constructors

Definition

Initializes a new instance of the ConsoleLogger class.

Overloads

ConsoleLogger()

Initializes a new instance of the ConsoleLogger class.

ConsoleLogger(LoggerVerbosity)

Initializes a new instance of the ConsoleLogger class with the specified LoggerVerbosity.

ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter)

Initializes a new instance of the ConsoleLogger class with the specified LoggerVerbosity, ColorSetter, and ColorResetter values.

ConsoleLogger()

Initializes a new instance of the ConsoleLogger class.

public:
 ConsoleLogger();
public ConsoleLogger ();
Public Sub New ()

ConsoleLogger(LoggerVerbosity)

Initializes a new instance of the ConsoleLogger class with the specified LoggerVerbosity.

public:
 ConsoleLogger(Microsoft::Build::Framework::LoggerVerbosity verbosity);
public ConsoleLogger (Microsoft.Build.Framework.LoggerVerbosity verbosity);
new Microsoft.Build.BuildEngine.ConsoleLogger : Microsoft.Build.Framework.LoggerVerbosity -> Microsoft.Build.BuildEngine.ConsoleLogger
Public Sub New (verbosity As LoggerVerbosity)

Parameters

verbosity
LoggerVerbosity

The LoggerVerbosity to apply to the logger.

ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter)

Initializes a new instance of the ConsoleLogger class with the specified LoggerVerbosity, ColorSetter, and ColorResetter values.

public:
 ConsoleLogger(Microsoft::Build::Framework::LoggerVerbosity verbosity, Microsoft::Build::BuildEngine::WriteHandler ^ write, Microsoft::Build::BuildEngine::ColorSetter ^ colorSet, Microsoft::Build::BuildEngine::ColorResetter ^ colorReset);
public ConsoleLogger (Microsoft.Build.Framework.LoggerVerbosity verbosity, Microsoft.Build.BuildEngine.WriteHandler write, Microsoft.Build.BuildEngine.ColorSetter colorSet, Microsoft.Build.BuildEngine.ColorResetter colorReset);
new Microsoft.Build.BuildEngine.ConsoleLogger : Microsoft.Build.Framework.LoggerVerbosity * Microsoft.Build.BuildEngine.WriteHandler * Microsoft.Build.BuildEngine.ColorSetter * Microsoft.Build.BuildEngine.ColorResetter -> Microsoft.Build.BuildEngine.ConsoleLogger
Public Sub New (verbosity As LoggerVerbosity, write As WriteHandler, colorSet As ColorSetter, colorReset As ColorResetter)

Parameters

verbosity
LoggerVerbosity

The LoggerVerbosity to apply to the logger.

write
WriteHandler

The WriteHandler for the logger to use.

colorSet
ColorSetter

The ColorSetter for the logger to use.

colorReset
ColorResetter

The ColorResetter for the logger to use.

Applies to