Summary
Represents a log.
- Namespace
- Cake
.Core .Diagnostics - Implementing Types
graph BT
Type["ICakeLog"]
class Type type-node
Implementing0["NullLog"]-.->Type
click Implementing0 "/api/Cake.Core.Diagnostics/NullLog"
Implementing1["FakeLog"]-.->Type
click Implementing1 "/api/Cake.Testing/FakeLog"
Implementing2["CakeBuildLog"]-.->Type
click Implementing2 "/api/Cake.Core.Diagnostics/CakeBuildLog"
Syntax
public interface ICakeLog
Properties
Methods
Name | Value | Summary |
---|---|---|
Write |
void |
Writes the text representation of the specified array of objects to the
log using the specified verbosity, log level and format information.
|
Extension Methods
Name | Value | Summary |
---|---|---|
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.
From LogExtensions
|
Debug |
void |
Writes a debug message to the log using the specified value.
From LogExtensions
|
Debug |
void |
Writes a debug message to the log using the specified format information.
From LogExtensions
|
Debug |
void |
Writes a debug message to the log using the specified string value.
From LogExtensions
|
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.
From LogExtensions
|
Debug |
void |
Writes a debug message to the log using the specified verbosity and format information.
From LogExtensions
|
DiagnosticVerbosity |
IDisposable |
Sets the log verbosity to diagnostic and returns a disposable that restores the log verbosity on dispose.
From LogExtensions
|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
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.
From LogExtensions
|
Error |
void |
Writes an error message to the log using the specified value.
From LogExtensions
|
Error |
void |
Writes an error message to the log using the specified format information.
From LogExtensions
|
Error |
void |
Writes an error message to the log using the specified string value.
From LogExtensions
|
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.
From LogExtensions
|
Error |
void |
Writes an error message to the log using the specified verbosity and format information.
From LogExtensions
|
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.
From LogExtensions
|
Information |
void |
Writes an informational message to the log using the specified value.
From LogExtensions
|
Information |
void |
Writes an informational message to the log using the specified format information.
From LogExtensions
|
Information |
void |
Writes an informational message to the log using the specified string value.
From LogExtensions
|
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.
From LogExtensions
|
Information |
void |
Writes an informational message to the log using the specified verbosity and format information.
From LogExtensions
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
LogException |
int |
Logs exception and returns exit code if available in exception.
From ExceptionLogger
|
MinimalVerbosity |
IDisposable |
Sets the log verbosity to minimal and returns a disposable that restores the log verbosity on dispose.
From LogExtensions
|
NormalVerbosity |
IDisposable |
Sets the log verbosity to normal and returns a disposable that restores the log verbosity on dispose.
From LogExtensions
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
QuietVerbosity |
IDisposable |
Sets the log verbosity to quiet and returns a disposable that restores the log verbosity on dispose.
From LogExtensions
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
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.
From LogExtensions
|
Verbose |
void |
Writes a verbose message to the log using the specified value.
From LogExtensions
|
Verbose |
void |
Writes a verbose message to the log using the specified format information.
From LogExtensions
|
Verbose |
void |
Writes a verbose message to the log using the specified string value.
From LogExtensions
|
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.
From LogExtensions
|
Verbose |
void |
Writes a verbose message to the log using the specified verbosity and format information.
From LogExtensions
|
VerboseVerbosity |
IDisposable |
Sets the log verbosity to verbose and returns a disposable that restores the log verbosity on dispose.
From LogExtensions
|
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.
From LogExtensions
|
Warning |
void |
Writes an warning message to the log using the specified value.
From LogExtensions
|
Warning |
void |
Writes a warning message to the log using the specified format information.
From LogExtensions
|
Warning |
void |
Writes an warning message to the log using the specified string value.
From LogExtensions
|
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.
From LogExtensions
|
Warning |
void |
Writes a warning message to the log using the specified verbosity and format information.
From LogExtensions
|
WithVerbosity |
IDisposable |
Sets the log verbosity as specified and returns a disposable that restores the log verbosity on dispose.
From LogExtensions
|
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.
From LogExtensions
|