Summary
Contains functionality related to logging.
- Namespace
- Cake
.Common .Diagnostics - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["LoggingAliases"]
class Type type-node
Syntax
[CakeAliasCategory("Logging")]
public static class LoggingAliases
Attributes
| Type | Description |
|---|---|
| Cake |
An attribute used for documentation of alias methods/properties. |
Methods
| Name | Value | Summary |
|---|---|---|
| Debug |
void |
Writes a debug message to the log using the specified log message action.
Evaluation message only if verbosity same or more verbose.
static
|
| Debug |
void |
Writes a debug message to the log using the specified value.
static
|
| Debug |
void |
Writes a debug message to the log using the specified format information.
static
|
| Debug |
void |
Writes a debug message to the log using the specified string value.
static
|
| DiagnosticVerbosity |
IDisposable |
Sets the log verbosity to diagnostic and returns a disposable that restores the log verbosity on dispose.
static
|
| Error |
void |
Writes an error message to the log using the specified log message action.
Evaluation message only if verbosity same or more verbose.
static
|
| Error |
void |
Writes an error message to the log using the specified value.
static
|
| Error |
void |
Writes an error message to the log using the specified format information.
static
|
| Error |
void |
Writes an error message to the log using the specified string value.
static
|
| Information |
void |
Writes an informational message to the log using the specified log message action.
Evaluation message only if verbosity same or more verbose.
static
|
| Information |
void |
Writes an informational message to the log using the specified value.
static
|
| Information |
void |
Writes an informational message to the log using the specified format information.
static
|
| Information |
void |
Writes an informational message to the log using the specified string value.
static
|
| MinimalVerbosity |
IDisposable |
Sets the log verbosity to minimal and returns a disposable that restores the log verbosity on dispose.
static
|
| NormalVerbosity |
IDisposable |
Sets the log verbosity to normal and returns a disposable that restores the log verbosity on dispose.
static
|
| QuietVerbosity |
IDisposable |
Sets the log verbosity to quiet and returns a disposable that restores the log verbosity on dispose.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified log message action.
Evaluation message only if verbosity same or more verbose.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified value.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified format information.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified string value.
static
|
| VerboseVerbosity |
IDisposable |
Sets the log verbosity to verbose and returns a disposable that restores the log verbosity on dispose.
static
|
| Warning |
void |
Writes a warning message to the log using the specified log message action.
Evaluation message only if verbosity same or more verbose.
static
|
| Warning |
void |
Writes an warning message to the log using the specified value.
static
|
| Warning |
void |
Writes a warning message to the log using the specified format information.
static
|
| Warning |
void |
Writes an warning message to the log using the specified string value.
static
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
