ConfigurableForwardingLogger 类

定义

表示 ConfigurableForwardingLogger,即在多处理器或多内核系统上生成项目时将使用的一个预制转发记录器。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-Processor-Aware Loggers.

public ref class ConfigurableForwardingLogger : Microsoft::Build::Framework::IForwardingLogger
public class ConfigurableForwardingLogger : Microsoft.Build.Framework.IForwardingLogger
type ConfigurableForwardingLogger = class
    interface IForwardingLogger
    interface INodeLogger
    interface ILogger
Public Class ConfigurableForwardingLogger
Implements IForwardingLogger
继承
ConfigurableForwardingLogger
实现

注解

可以使用提供的 ConfigurableForwardingLogger, 也可以创建自己的自定义转发记录器。You can use the provided ConfigurableForwardingLogger, or you can create your own custom forwarding loggers.

构造函数

ConfigurableForwardingLogger()

初始化 ConfigurableForwardingLogger 类的新实例。Initializes a new instance of the ConfigurableForwardingLogger class.

属性

BuildEventRedirector

获取或设置生成引擎是否允许节点记录器将消息转发到中央记录器。Gets or sets whether the build engine allows node loggers to forward messages to the central logger.

NodeId

获取或设置记录器所附加到的唯一标识符(节点 ID)。Gets or sets the unique identifier (Node ID) to which the logger is attached.

Parameters

获取或设置 ConfigurableForwardingLogger 的参数。Gets or sets the parameters for the ConfigurableForwardingLogger.

Verbosity

获取或设置要显示在事件日志中的详细信息的级别。Gets or sets the level of detail to show in the event log.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
ForwardToCentralLogger(BuildEventArgs)

将指定的事件转发到中央记录器。Forwards the specified event to the central logger.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
Initialize(IEventSource)

在控制台记录器中登记所有生成事件。Enlists the console logger for all build events.

Initialize(IEventSource, Int32)

在控制台记录器中登记所有生成事件。Enlists the console logger for all build events.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Shutdown()

关闭可配置的转发记录器。Closes the configurable forwarding logger.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于