ConsoleLogger Class
.NET Framework 4.5
Implements the standard console logger that outputs event data to the console window during a build.
Namespace: Microsoft.Build.BuildEngine
Assembly: Microsoft.Build.Engine (in Microsoft.Build.Engine.dll)
The ConsoleLogger type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ConsoleLogger() | Initializes a new instance of the ConsoleLogger class. |
![]() | ConsoleLogger(LoggerVerbosity) | Initializes a new instance of the ConsoleLogger class with the specified LoggerVerbosity. |
![]() | ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter) | Initializes a new instance of the ConsoleLogger class with the specified LoggerVerbosity, ColorSetter, and ColorResetter values. |
| Name | Description | |
|---|---|---|
![]() | Parameters | Gets or sets the parameters passed to the ConsoleLogger. |
![]() | ShowSummary | Gets or sets a value indicating whether the logger will display a summary of errors and warnings. |
![]() | SkipProjectStartedText | Gets or sets a value indicating whether the logger will display messages when new projects are started during the build. |
![]() | Verbosity | Gets or sets the LoggerVerbosity level of the logger. |
![]() | WriteHandler | Gets or sets to the WriteHandler delegate for the ConsoleLogger. |
| Name | Description | |
|---|---|---|
![]() | ApplyParameter | Adds the specified parameter name and value to the logger. |
![]() | BuildFinishedHandler | Handles the BuildFinished event. |
![]() | BuildStartedHandler | Handles the BuildStarted event. |
![]() | CustomEventHandler | Handles the CustomEventRaised event. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | ErrorHandler | Handles the ErrorRaised event. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize(IEventSource) | Registers the logger for the specified events. |
![]() | Initialize(IEventSource, Int32) | Registers the logger for the specified events. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MessageHandler | Handles the MessageRaised event. |
![]() | ProjectFinishedHandler | Handles the ProjectFinished event. |
![]() | ProjectStartedHandler | Handles the ProjectStarted event. |
![]() | Shutdown | Stops the logger and releases all resources. |
![]() | TargetFinishedHandler | Handles the TargetFinished event. |
![]() | TargetStartedHandler | Handles the TargetStarted event. |
![]() | TaskFinishedHandler | Handles the TaskFinished event. |
![]() | TaskStartedHandler | Handles the TaskStarted event. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WarningHandler | Handles the WarningRaised event. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
