LogLevel Enum

Summary

Represents a log level.
Namespace
Cake.Core.Diagnostics
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["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<LogLevel>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<LogLevel>(LogLevel[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<LogLevel>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<LogLevel>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin