다음을 통해 공유


ConfigurableForwardingLogger Class

Represents a logger that forwards events to a central logger (e.g ConsoleLogger) residing on the parent node.

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.Logging.ConfigurableForwardingLogger

Namespace:  Microsoft.Build.Logging
Assembly:  Microsoft.Build (in Microsoft.Build.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 Constructs a 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.

Top

Properties

  Name Description
Public property BuildEventRedirector Gets or sets a property that determines how a node logger to forwards 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 ID of the node.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 a switch that determines whether to suppress the output of the errors and warnings summary at the end of a build.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 Forward this 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) Signs up the console logger to log the given 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) Signs up 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 Called when the build engine is finished with this 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

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.Logging Namespace