2020-11-22 20:17:57 +01:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
2021-03-12 16:06:30 +01:00
|
|
|
class LoggingLevelEnum(Enum):
|
2020-11-22 20:17:57 +01:00
|
|
|
|
|
|
|
OFF = 0 # Nothing
|
|
|
|
FATAL = 1 # Error that cause exit
|
|
|
|
ERROR = 2 # Non fatal error
|
|
|
|
WARN = 3 # Error that can later be fatal
|
|
|
|
INFO = 4 # Normal information's
|
|
|
|
DEBUG = 5 # Detailed app state
|
|
|
|
TRACE = 6 # Detailed app information's
|