OpenCoverLogLevel Enum

Summary

Represents the logging output level for OpenCover.
Namespace
Cake.Common.Tools.OpenCover
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["OpenCoverLogLevel"] class Type type-node

Syntax

public enum OpenCoverLogLevel

Fields

Name Constant Value Summary
All 7
Logs all messages
static
Debug 5
Logs debug messages and above
static
Error 3
Logs error messages and above
static
Fatal 2
Logs fatal messages
static
Info 0
Logs info messages and above (default)
static
Off 1
This log level disables logging
static
Verbose 6
Logs verbose messages and above
static
Warn 4
Logs warn messages and above
static

Extension Methods

Name Value Summary
Dump<OpenCoverLogLevel>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<OpenCoverLogLevel>(OpenCoverLogLevel[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<OpenCoverLogLevel>(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<OpenCoverLogLevel>(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