DistributedFileLogger 类

定义

表示一个文本文件,其中包含某个生成节点的生成日志。Represents a text file that contains the build log for a build node.

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

构造函数

DistributedFileLogger()

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

属性

BuildEventRedirector

由生成引擎设置,以允许节点记录器将消息转发到中央记录器。Set by the build engine to allow a node loggers to forward messages to the central logger.

NodeId

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

Parameters

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

Verbosity

获取或设置要显示在生成事件日志中的详细等级(一个 LoggerVerbosity 值)。Gets or sets the level of detail (a LoggerVerbosity value) to display in the build event log.

方法

Equals(Object)

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

(继承自 Object)
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 node file logger.

ToString()

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

(继承自 Object)

适用于