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)
Syntax
'Declaration
Public Interface IForwardingLogger _
Inherits INodeLogger, ILogger
public interface IForwardingLogger : INodeLogger,
ILogger
public interface class IForwardingLogger : INodeLogger,
ILogger
type IForwardingLogger =
interface
interface INodeLogger
interface ILogger
end
public interface IForwardingLogger extends INodeLogger, ILogger
The IForwardingLogger type exposes the following members.
Properties
Name | Description | |
---|---|---|
BuildEventRedirector | 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. | |
NodeId | 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. | |
Parameters | 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.) | |
Verbosity | 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.) |
Top
Methods
Name | Description | |
---|---|---|
Initialize(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.) | |
Initialize(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.) | |
Shutdown | 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.) |
Top