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

NameDescription
System_CAPS_pubpropertyBuildEventRedirector

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

System_CAPS_pubpropertyNodeId

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

System_CAPS_pubpropertyParameters

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

System_CAPS_pubpropertyVerbosity

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

NameDescription
System_CAPS_pubmethodInitialize(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.)

System_CAPS_pubmethodInitialize(IEventSource, Int32)

Initializes the logger.(Inherited from INodeLogger.)

System_CAPS_pubmethodShutdown()

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
Show: