Aracılığıyla paylaş


FileLogger.Initialize Method

Definition

Initializes a file logger for a given build event or in a multiprocessor environment.

Overloads

Initialize(IEventSource)

Signs up the console file logger for all build events. This is the backward-compatible overload.

Initialize(IEventSource, Int32)

Multiproc aware initialization

Initialize(IEventSource)

Source:
FileLogger.cs

Signs up the console file logger for all build events. This is the backward-compatible overload.

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

Parameters

eventSource
IEventSource

Available events.

Applies to

Initialize(IEventSource, Int32)

Source:
FileLogger.cs

Multiproc aware initialization

public:
 override void Initialize(Microsoft::Build::Framework::IEventSource ^ eventSource, int nodeCount);
public override void Initialize (Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public override void Initialize (Microsoft.Build.Framework.IEventSource eventSource, int nodeCount);
override this.Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
override this.Initialize : Microsoft.Build.Framework.IEventSource * int -> unit
Public Overrides Sub Initialize (eventSource As IEventSource, nodeCount As Integer)

Parameters

eventSource
IEventSource

The event source.

nodeCount
Int32

The node count.

Attributes

Applies to