ConfigurableForwardingLogger.Initialize Method

Definition

Initializes the logger.

Overloads

Initialize(IEventSource)

Signs up the console logger for all build events.

Initialize(IEventSource, Int32)

Signs up the console logger for all build events.

Initialize(IEventSource)

Source:
ConfigurableForwardingLogger.cs

Signs up the console logger for all build events.

C#
public virtual void Initialize(Microsoft.Build.Framework.IEventSource eventSource);

Parameters

eventSource
IEventSource

The event source for build events.

Implements

Applies to

.NET Framework 4.8.1 und andere Versionen
Produkt Versionen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Initialize(IEventSource, Int32)

Source:
ConfigurableForwardingLogger.cs

Signs up the console logger for all build events.

C#
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
C#
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public void Initialize(Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);

Parameters

eventSource
IEventSource

The event source for build events.

nodeCount
Int32

The node count. Not used.

Implements

Attributes

Applies to

.NET Framework 4.8.1 und andere Versionen
Produkt Versionen
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1