Export (0) Print
Expand All

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)

'Declaration
Public Interface IForwardingLogger _
	Inherits INodeLogger, ILogger

The IForwardingLogger type exposes the following members.

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

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Show:
© 2014 Microsoft