Sdílet prostřednictvím


ConsoleLogger Constructors

Definition

Initializes a new instance of the ConsoleLogger class.

Overloads

ConsoleLogger()

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Default constructor.

ConsoleLogger(LoggerVerbosity)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Create a logger instance with a specific verbosity. This logs to the default console.

ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Initializes the logger, with alternate output handlers.

ConsoleLogger()

Source:
ConsoleLogger.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution Default constructor.

public:
 ConsoleLogger();
public ConsoleLogger ();
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public ConsoleLogger ();
Public Sub New ()
Attributes

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

ConsoleLogger(LoggerVerbosity)

Source:
ConsoleLogger.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Create a logger instance with a specific verbosity. This logs to the default console.

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

Verbosity level.

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter)

Source:
ConsoleLogger.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Initializes the logger, with alternate output handlers.

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
write
WriteHandler
colorSet
ColorSetter
colorReset
ColorResetter

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to