runtime/loglevels.py
author Edouard Tisserant
Thu, 30 Jan 2020 14:33:06 +0100
branchsvghmi
changeset 2833 e74123b966ac
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI : fixed bug happening when some SVG ids are containing dashes
#!/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"]