Partager via


ConsoleLogger.Initialize Method

Definition

Initializes the console logger for the given build event or node count.

Overloads

Initialize(IEventSource)

Signs up the console logger for all build events.

Initialize(IEventSource, Int32)

Initializes the logger.

Initialize(IEventSource)

Source:
ConsoleLogger.cs

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

Applies to

Initialize(IEventSource, Int32)

Source:
ConsoleLogger.cs

Initializes the logger.

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 event source.

nodeCount
Int32

The node count.

Implements

Applies to