IForwardingLogger Interface
TOC
Collapse the table of content
Expand the table of content

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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Public Interface IForwardingLogger
	Inherits INodeLogger, ILogger

NameDescription
System_CAPS_pubpropertyBuildEventRedirector

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyNodeId

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

System_CAPS_pubpropertyParameters

Gets or sets the user-defined parameters of the logger.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from ILogger.)

System_CAPS_pubpropertyVerbosity

Gets or sets the level of detail to show in the event log.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from ILogger.)

System_CAPS_pubmethodInitialize(IEventSource, Int32)

Initializes the logger.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(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.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.(Inherited from ILogger.)

Return to top
Show:
© 2016 Microsoft