Delen via


ConfigurableForwardingLogger Class

Represents the ConfigurableForwardingLogger, a pre-fabricated forwarding logger to be used when building projects on a multi-proc or multi-core system. For more information, see Writing Multi-Proc Aware 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.

Inheritance Hierarchy

System.Object
  Microsoft.Build.BuildEngine.ConfigurableForwardingLogger

Namespace:  Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

Syntax

'Declaration
Public Class ConfigurableForwardingLogger _
    Implements IForwardingLogger, INodeLogger, ILogger
public class ConfigurableForwardingLogger : IForwardingLogger, 
    INodeLogger, ILogger
public ref class ConfigurableForwardingLogger : IForwardingLogger, 
    INodeLogger, ILogger
type ConfigurableForwardingLogger =  
    class 
        interface IForwardingLogger 
        interface INodeLogger 
        interface ILogger 
    end
public class ConfigurableForwardingLogger implements IForwardingLogger, INodeLogger, ILogger

The ConfigurableForwardingLogger type exposes the following members.

Constructors

  Name Description
Public method ConfigurableForwardingLogger Initializes a new instance of the ConfigurableForwardingLogger class.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.

Top

Properties

  Name Description
Public property BuildEventRedirector Gets or sets whether the build engine allows 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.
Public property NodeId Gets or sets the unique identifier (Node ID) to which the logger is attached.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 property Parameters Gets or sets the parameters for the ConfigurableForwardingLogger.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 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.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method ForwardToCentralLogger Infrastructure. Forwards the specified event 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.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize(IEventSource) Enlists the console logger for all build events.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 Initialize(IEventSource, Int32) Enlists the console logger for all build events.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.
Protected method MemberwiseClone (Inherited from Object.)
Public method Shutdown Closes the configurable forwarding 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 ToString (Inherited from Object.)

Top

Remarks

You can use the provided ConfigurableForwardingLogger, or you can create your own custom forwarding loggers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Build.BuildEngine Namespace