Logging

Summary

Contains functionality related to logging.

Debug

Debug(ICakeContext, LogAction) Writes a debug message to the log using the specified log message action. Evaluation message only if verbosity same or more verbose.
Debug(ICakeContext, object) Writes a debug message to the log using the specified value.
Debug(ICakeContext, string) Writes a debug message to the log using the specified string value.
Debug(ICakeContext, string, object[]) Writes a debug message to the log using the specified format information.

Error

Error(ICakeContext, LogAction) Writes an error message to the log using the specified log message action. Evaluation message only if verbosity same or more verbose.
Error(ICakeContext, object) Writes an error message to the log using the specified value.
Error(ICakeContext, string) Writes an error message to the log using the specified string value.
Error(ICakeContext, string, object[]) Writes an error message to the log using the specified format information.

Information

Information(ICakeContext, LogAction) Writes an informational message to the log using the specified log message action. Evaluation message only if verbosity same or more verbose.
Information(ICakeContext, object) Writes an informational message to the log using the specified value.
Information(ICakeContext, string) Writes an informational message to the log using the specified string value.
Information(ICakeContext, string, object[]) Writes an informational message to the log using the specified format information.

Verbose

Verbose(ICakeContext, LogAction) Writes a verbose message to the log using the specified log message action. Evaluation message only if verbosity same or more verbose.
Verbose(ICakeContext, object) Writes a verbose message to the log using the specified value.
Verbose(ICakeContext, string) Writes a verbose message to the log using the specified string value.
Verbose(ICakeContext, string, object[]) Writes a verbose message to the log using the specified format information.

Verbosity

DiagnosticVerbosity(ICakeContext) Sets the log verbosity to diagnostic and returns a disposable that restores the log verbosity on dispose.
MinimalVerbosity(ICakeContext) Sets the log verbosity to minimal and returns a disposable that restores the log verbosity on dispose.
NormalVerbosity(ICakeContext) Sets the log verbosity to normal and returns a disposable that restores the log verbosity on dispose.
QuietVerbosity(ICakeContext) Sets the log verbosity to quiet and returns a disposable that restores the log verbosity on dispose.
VerboseVerbosity(ICakeContext) Sets the log verbosity to verbose and returns a disposable that restores the log verbosity on dispose.

Warning

Warning(ICakeContext, LogAction) Writes a warning message to the log using the specified log message action. Evaluation message only if verbosity same or more verbose.
Warning(ICakeContext, object) Writes an warning message to the log using the specified value.
Warning(ICakeContext, string) Writes an warning message to the log using the specified string value.
Warning(ICakeContext, string, object[]) Writes a warning message to the log using the specified format information.