runtime/loglevels.py
author Edouard Tisserant
Tue, 17 Mar 2020 13:43:19 +0100
branchsvghmi
changeset 2880 9da4ac0c9add
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: More readable debug output gen code
#!/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"]