Represents log level as IntEnum, which supports comparison.
Available levels are: TRACE, DEBUG, INFO, WARNING, ERROR, CRITICAL, NONE
Definition at line 35 of file logcapture.py.
Public Member Functions | |
| 'LogLevel' | from_string (cls, str level) |
| Parse log level from the string. | |
Static Public Attributes | |
| int | TRACE = 0 |
| int | DEBUG = 1 |
| int | INFO = 2 |
| int | WARNING = 3 |
| int | ERROR = 4 |
| int | CRITICAL = 5 |
| int | NONE = 6 |
| 'LogLevel' testsuite.logcapture.LogLevel.from_string | ( | cls, | |
| str | level ) |
Parse log level from the string.
Definition at line 51 of file logcapture.py.
|
static |
Definition at line 47 of file logcapture.py.
|
static |
Definition at line 43 of file logcapture.py.
|
static |
Definition at line 46 of file logcapture.py.
|
static |
Definition at line 44 of file logcapture.py.
|
static |
Definition at line 48 of file logcapture.py.
|
static |
Definition at line 42 of file logcapture.py.
|
static |
Definition at line 45 of file logcapture.py.