IForwardingLogger Interface

Definition

Extends the ILogger interface to provide properties to forward events to a logger running in a different process. It can also be used create filtering loggers.

public interface class IForwardingLogger : Microsoft::Build::Framework::INodeLogger
public interface IForwardingLogger : Microsoft.Build.Framework.INodeLogger
type IForwardingLogger = interface
    interface INodeLogger
    interface ILogger
Public Interface IForwardingLogger
Implements INodeLogger
Derived
Implements

Properties

BuildEventRedirector

Get or set by the build engine to allow node loggers to forward messages to the central logger.

NodeId

Get or set by the build engine or node to inform the forwarding logger on which node it is running.

Parameters

Gets or sets the user-defined parameters of the logger.

(Inherited from ILogger)
Verbosity

Gets or sets the level of detail to show in the event log.

(Inherited from ILogger)

Methods

Initialize(IEventSource)

Subscribes loggers to specific events. This method is called when the logger is registered with the build engine, before any events are raised.

(Inherited from ILogger)
Initialize(IEventSource, Int32)

Initializes the logger.

(Inherited from INodeLogger)
Shutdown()

Releases the resources allocated to the logger at the time of initialization or during the build. This method is called when the logger is unregistered from the engine, after all events are raised. A host of MSBuild typically unregisters loggers immediately before quitting.

(Inherited from ILogger)

Applies to