Dibaca dalam bahasa Inggeris

Kongsi melalui


ConfigurableForwardingLogger Class

Definition

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

C#
public class ConfigurableForwardingLogger : Microsoft.Build.Framework.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, Int32)

Signs up the console logger for all build events.

Initialize(IEventSource)

Signs up the console logger for all build events.

Shutdown()

Called when Engine is done with this logger

Applies to

Produk Versi
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17