Share via


IForwardingLogger Interface

Definition

This interface extends the ILogger interface to provide a property which can be used to forward events to a logger running in a different process. It can also be used to 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

This property is set by the build engine to allow a node loggers to forward messages to the central logger

NodeId

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

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, Int32)

Initializes the current INodeLogger instance.

(Inherited from INodeLogger)
Initialize(IEventSource)

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

(Inherited from ILogger)
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