Summary
Represents a log level.
- Namespace
- Cake
.Core .Diagnostics - Interfaces
-
- IComparable
- ISpanFormattable
- IFormattable
- IConvertible
- Base Types
-
- object
- ValueType
- Enum
graph BT
Type-->Base0["Enum"]
Base0-->Base1["ValueType"]
Base1-->Base2["object"]
Type-.->Interface0["IComparable"]
Type-.->Interface1["ISpanFormattable"]
Type-.->Interface2["IFormattable"]
Type-.->Interface3["IConvertible"]
Type["LogLevel"]
class Type type-node
Syntax
public enum LogLevel
Fields
Name | Constant Value | Summary |
---|---|---|
Debug | 5 |
Most detailed information.
static
|
Error | 1 |
Other runtime errors or unexpected conditions.
static
|
Fatal | 0 |
Severe errors that cause premature termination.
static
|
Information | 3 |
Interesting runtime events.
static
|
Verbose | 4 |
Detailed information on the flow through the system.
static
|
Warning | 2 |
Use of deprecated APIs, poor use of API, 'almost' errors, other runtime
situations that are undesirable or unexpected, but not necessarily "wrong".
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
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
|