runtime/loglevels.py
author Edouard Tisserant
Mon, 02 Mar 2020 14:43:21 +0100
branchsvghmi
changeset 2848 c525b1083653
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: declares pages detachable requirements as an object, to find more efficiently common requirements
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# See COPYING.Runtime file for copyrights details.

LogLevels = ["CRITICAL", "WARNING", "INFO", "DEBUG"]
LogLevelsCount = len(LogLevels)
LogLevelsDict = dict(zip(LogLevels, range(LogLevelsCount)))
LogLevelsDefault = LogLevelsDict["DEBUG"]