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
Public property 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.)
Public property 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
Public method 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.)
Public method 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.
Public method 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.

See Also

Reference

Microsoft.Build.Framework Namespace