ConsoleLogger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class implements the default logger that outputs event data to the console (stdout). It is a facade: it creates, wraps and delegates to a kind of BaseConsoleLogger, either SerialConsoleLogger or ParallelConsoleLogger.
public ref class ConsoleLogger : Microsoft::Build::Framework::INodeLogger
public class ConsoleLogger : Microsoft.Build.Framework.INodeLogger
type ConsoleLogger = class
interface INodeLogger
interface ILogger
Public Class ConsoleLogger
Implements INodeLogger
- Inheritance
-
ConsoleLogger
- Derived
- Implements
Remarks
This class is not thread safe.
Constructors
ConsoleLogger() |
Default constructor. |
ConsoleLogger(LoggerVerbosity, WriteHandler, ColorSetter, ColorResetter) |
Initializes the logger, with alternate output handlers. |
ConsoleLogger(LoggerVerbosity) |
Create a logger instance with a specific verbosity. This logs to the default console. |
Properties
Parameters |
A semi-colon delimited list of "key[=value]" parameter pairs. |
ShowSummary |
Suppresses the display of error and warnings summary. |
SkipProjectStartedText |
Suppresses the display of project headers. Project headers are displayed by default unless this property is set. |
Verbosity |
Gets or sets the level of detail to show in the event log. |
WriteHandler |
Provide access to the write hander delegate so that it can be redirected if necessary (e.g. to a file) |