Summary
Contains extension methods for
ICakeLog.
- Namespace
- Cake
.Core .Diagnostics - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["LogExtensions"]
class Type type-node
Syntax
public static class LogExtensions
Methods
| Name | Value | Summary |
|---|---|---|
| Debug |
void |
Writes a formattable string debug message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Debug |
void |
Writes a formattable string debug message to the log using the specified format information.
static
|
| Debug |
void |
Writes a debug message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
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
|
| Debug |
void |
Writes a formattable string debug message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Debug |
void |
Writes a formattable string debug message to the log using the specified verbosity and format information.
static
|
| Debug |
void |
Writes a debug message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Debug |
void |
Writes a debug message to the log using the specified verbosity and format information.
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 formattable string error message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Error |
void |
Writes an formattable string error message to the log using the specified format information.
static
|
| Error |
void |
Writes an error message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
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
|
| Error |
void |
Writes an formattable string error message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Error |
void |
Writes an formattable string error message to the log using the specified format information.
static
|
| Error |
void |
Writes an error message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Error |
void |
Writes an error message to the log using the specified verbosity and format information.
static
|
| Information |
void |
Writes an formattable string informational message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Information |
void |
Writes an formattable string informational message to the log using the specified format information.
static
|
| Information |
void |
Writes an informational message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
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
|
| Information |
void |
Writes an formattable string informational message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Information |
void |
Writes an formattable string informational message to the log using the specified verbosity and format information.
static
|
| Information |
void |
Writes an informational message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Information |
void |
Writes an informational message to the log using the specified verbosity and format information.
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 formattable string verbose message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Verbose |
void |
Writes a formattable string verbose message to the log using the specified format information.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
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
|
| Verbose |
void |
Writes a formattable string verbose message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Verbose |
void |
Writes a formattable string verbose message to the log using the specified verbosity and format information.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Verbose |
void |
Writes a verbose message to the log using the specified verbosity and format information.
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 formattable string warning message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Warning |
void |
Writes a formattable string warning message to the log using the specified format information.
static
|
| Warning |
void |
Writes a warning message to the log using the specified log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
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
|
| Warning |
void |
Writes a formattable string warning message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Warning |
void |
Writes a formattable string warning message to the log using the specified verbosity and format information.
static
|
| Warning |
void |
Writes a warning message to the log using the specified verbosity and log message action.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Warning |
void |
Writes a warning message to the log using the specified verbosity and format information.
static
|
| WithVerbosity |
IDisposable |
Sets the log verbosity as specified and returns a disposable that restores the log verbosity on dispose.
static
|
| Write |
void |
Writes a formattable string message to the log using the specified verbosity, log level and log action delegate.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
static
|
| Write |
void |
Writes the text representation of the formattable string to the
log using the specified verbosity, log level and format information.
static
|
| Write |
void |
Writes a message to the log using the specified verbosity, log level and log action delegate.
Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
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
|
