Share via


ConsoleLogger.Initialize Method

Definition

Registers the logger for build events.

Overloads

Initialize(IEventSource)

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

Signs up the console logger for all build events.

Initialize(IEventSource, Int32)

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

Initialize(IEventSource)

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

Signs up the console logger for all build events.

public:
 virtual void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource);
public virtual void Initialize (Microsoft.Build.Framework.IEventSource eventSource);
abstract member Initialize : Microsoft.Build.Framework.IEventSource -> unit
override this.Initialize : Microsoft.Build.Framework.IEventSource -> unit
Public Overridable Sub Initialize (eventSource As IEventSource)

Parameters

eventSource
IEventSource

Available events.

Implements

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

Initialize(IEventSource, Int32)

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

public:
 virtual void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource, int nodeCount);
public virtual void Initialize (Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
abstract member Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
override this.Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
Public Overridable Sub Initialize (eventSource As IEventSource, nodeCount As Integer)

Parameters

eventSource
IEventSource

The IEventSource to register with the logger.

nodeCount
Int32

The number of nodes to initialize.

Implements

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