Compartir a través de


INodeLogger Interface

Definition

This interface defines a logger that will receive information about number of logical execution nodes that will be executing the build requests and producing the build events.

public interface class INodeLogger : Microsoft::Build::Framework::ILogger
[System.Runtime.InteropServices.ComVisible(true)]
public interface INodeLogger : Microsoft.Build.Framework.ILogger
[<System.Runtime.InteropServices.ComVisible(true)>]
type INodeLogger = interface
    interface ILogger
Public Interface INodeLogger
Implements ILogger
Derived
Attributes
Implements

Remarks

Implementing loggers (same as loggers implementing ILogger) will be registered as so called 'central logger', which means that they will be receiving all events in the serialized order (either via locking or via delivery via single thread). This means that the implementation doesn't need to be thread safe.

Properties

Parameters

This property holds the user-specified parameters to the logger. If parameters are not provided, a logger should revert to defaults. If a logger does not take parameters, it can ignore this property.

(Inherited from ILogger)
Verbosity

The verbosity level directs the amount of detail that appears in a logger's event log. Though this is only a recommendation based on user preferences, and a logger is free to choose the exact events it logs, it is still important that the guidelines for each level be followed, for a good user experience.

(Inherited from ILogger)

Methods

Initialize(IEventSource)

Called by the build engine to allow loggers to subscribe to the events they desire.

(Inherited from ILogger)
Initialize(IEventSource, Int32)

Initializes the current INodeLogger instance.

Shutdown()

Called by the build engine to allow loggers to release any resources they may have allocated at initialization time, or during the build.

(Inherited from ILogger)

Applies to