NUnitInternalTraceLevel Enum

Summary

Represents the level of detail at which NUnit should set internal tracing
Namespace
Cake.Common.Tools.NUnit
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["NUnitInternalTraceLevel"] class Type type-node

Syntax

public enum NUnitInternalTraceLevel

Fields

Name Constant Value Summary
Debug 4
Display debug messages and higher - i.e. all messages
static
Error 1
Display Error messages only
static
Info 3
Display informational and higher messages
static
Off 0
Do not display any trace messages
static
Verbose 4
Display debug messages and higher - i.e. all messages
static
Warning 2
Display Warning level and higher messages
static

Extension Methods

Name Value Summary
Dump<NUnitInternalTraceLevel>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
GetArgumentValue() string
Gets the LEVEL value for the --trace command line argument for the given NUnitInternalTraceLevel
IsIn<NUnitInternalTraceLevel>(NUnitInternalTraceLevel[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
ThrowIfNull<NUnitInternalTraceLevel>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NUnitInternalTraceLevel>(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