共用方式為


ConfigurableForwardingLogger Class

Definition

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

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
Inheritance
ConfigurableForwardingLogger
Implements

Constructors

ConfigurableForwardingLogger()

Default constructor.

Properties

BuildEventRedirector

This property is set by the build engine to allow a node loggers to forward messages to the central logger

NodeId

The identifier of the node.

Parameters

The console logger takes a single parameter to suppress the output of the errors and warnings summary at the end of a build.

Verbosity

Gets or sets the level of detail to show in the event log.

Methods

ForwardToCentralLogger(BuildEventArgs)

Forwards the specified event.

Initialize(IEventSource)

Signs up the console logger for all build events.

Initialize(IEventSource, Int32)

Signs up the console logger for all build events.

Shutdown()

Called when Engine is done with this logger

Applies to