IForwardingLogger Interface


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.

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public interface IForwardingLogger : INodeLogger, ILogger


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


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


Gets or sets the user-defined parameters of the logger. (Inherited from ILogger.)


Gets or sets the level of detail to show in the event log.(Inherited from ILogger.)


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.)

System_CAPS_pubmethodInitialize(IEventSource, Int32)

Initializes the logger.(Inherited from INodeLogger.)


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.)

.NET Framework
Available since 3.5
Return to top