|
enum | type {
NONE = 0
, INFO = (1 << 0)
, INIT = (1 << 1)
, WARN = (1 << 2)
,
CRIT = (1 << 3)
, LEVEL1 = (1 << 4)
, LEVEL2 = (1 << 5)
, LEVEL3 = (1 << 6)
,
LEVEL4 = (1 << 7)
, LEVEL5 = (1 << 8)
, LEVEL6 = (1 << 9)
, LEVEL7 = (1 << 10)
,
LEVEL8 = (1 << 11)
, LEVEL9 = (1 << 12)
, REPOSITORY = (1 << 13)
, SYSTEM = (1 << 14)
,
EXCEPTION = (1 << 15)
} |
|
typedef std::uint8_t | verbosity |
|
Ideally this should have been a namespace, but since we try to be compilable on older C++ compilators too, we use a struct instead. This is all the different debug levels that we have.