Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void ConfigureVerbosity(string)

Declaration

public virtual void ConfigureVerbosity(
    string settings
)

Summary

Takes a string which encodes verbosity limit configuration, parses it and sets the limits accordingly. On failure throws an ArgumentException with a fairly detailed description of the string format.

Remarks

Examples of valid strings:

"" sets default values
"3" sets all limits to 3
"2d0" sets all limits to 2, then set the debug limit to 0
"i0w1e2d3" sets info=0, warning=1, error=2, debug=3

Intended use: configuring the logger via a command-line option.