ConfigurableForwardingLogger Class

 

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.

Namespace:   Microsoft.Build.BuildEngine
Assembly:  Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)

System.Object
  Microsoft.Build.BuildEngine.ConfigurableForwardingLogger

public class ConfigurableForwardingLogger : IForwardingLogger, 
	INodeLogger, ILogger

NameDescription
System_CAPS_pubmethodConfigurableForwardingLogger()

Initializes a new instance of the ConfigurableForwardingLogger class.

NameDescription
System_CAPS_pubpropertyBuildEventRedirector

Gets or sets whether the build engine allows node loggers to forward messages to the central logger.

System_CAPS_pubpropertyNodeId

Gets or sets the unique identifier (Node ID) to which the logger is attached.

System_CAPS_pubpropertyParameters

Gets or sets the parameters for the ConfigurableForwardingLogger.

System_CAPS_pubpropertyVerbosity

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodForwardToCentralLogger(BuildEventArgs)

This API supports the product infrastructure and is not intended to be used directly from your code. Forwards the specified event to the central logger.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitialize(IEventSource)

Enlists the console logger for all build events.

System_CAPS_pubmethodInitialize(IEventSource, Int32)

Enlists the console logger for all build events.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodShutdown()

Closes the configurable forwarding logger.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

You can use the provided ConfigurableForwardingLogger, or you can create your own custom forwarding loggers.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: