This documentation is archived and is not being maintained.

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, 

The IForwardingLogger type exposes the following members.

Public propertyBuildEventRedirectorGet or set by the build engine to allow node loggers to forward messages to the central logger.
Public propertyNodeIdGet or set by the build engine or node to inform the forwarding logger on which node it is running.
Public propertyParametersGets or sets the user-defined parameters of the logger. (Inherited from ILogger.)
Public propertyVerbosityGets or sets the level of detail to show in the event log. (Inherited from ILogger.)

Public methodInitialize(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.)
Public methodInitialize(IEventSource, Int32)Initializes the logger. (Inherited from INodeLogger.)
Public methodShutdownReleases 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

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.