INodeLogger Interface
Defines a "parallel aware logger" in the build system.
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
<ComVisibleAttribute(True)> _
Public Interface INodeLogger _
Inherits ILogger
[ComVisibleAttribute(true)]
public interface INodeLogger : ILogger
[ComVisibleAttribute(true)]
public interface class INodeLogger : ILogger
[<ComVisibleAttribute(true)>]
type INodeLogger =
interface
interface ILogger
end
public interface INodeLogger extends ILogger
The INodeLogger type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. | |
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
Remarks
A parallel aware logger accepts a CPU count. A CPU count greater than 1 means that build events are received from each CPU's logger as the events are logged.