This documentation is archived and is not being maintained.
ConsoleLogger Class
Visual Studio 2010
Represents the default logger that outputs event data to the console (stdout).
Assembly: Microsoft.Build (in Microsoft.Build.dll)
The ConsoleLogger type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ConsoleLogger() | Creates a default logger. |
![]() | ConsoleLogger(LoggerVerbosity) | Creates a logger instance with the given verbosity that logs to the default console. |
![]() | ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter) | Initializes the logger with alternate output handlers. |
| Name | Description | |
|---|---|---|
![]() | Parameters | Gets or sets a semicolon-delimited list of parameter key-value pairs. |
![]() | ShowSummary | Gets or sets a switch that determines whether to suppress the display of errors and the warnings summary. |
![]() | SkipProjectStartedText | Gets or sets a switch that determines whether to suppress the display of project headers. |
![]() | Verbosity | Gets or sets the level of detail to show in the event log. |
![]() | WriteHandler | Provides access to the write handler delegate so that it can be redirected if necessary (e.g. to a file). |
| Name | Description | |
|---|---|---|
![]() | ApplyParameter | Applies a parameter to the logger. |
![]() | BuildFinishedHandler | Called when the build is finished. |
![]() | BuildStartedHandler | Called when the build is started. |
![]() | CustomEventHandler | Called to log a custom event. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | ErrorHandler | Called to log an error 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) | Signs up the console logger for the given build event. |
![]() | Initialize(IEventSource, Int32) | Initializes the logger with the given event source and node count. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MessageHandler | Called to log a message event. |
![]() | ProjectFinishedHandler | Called to log a project finished event. |
![]() | ProjectStartedHandler | Called to log a project started event. |
![]() | Shutdown | Called when the build is finished. |
![]() | TargetFinishedHandler | Called to log a target finished event. |
![]() | TargetStartedHandler | Called to log a target started event. |
![]() | TaskFinishedHandler | Called to log a task finished event. |
![]() | TaskStartedHandler | Called to log a task started event. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WarningHandler | Called to log a warning event. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
