runtime/loglevels.py
author Edouard Tisserant
Mon, 09 Dec 2019 10:43:54 +0100
branchsvghmi
changeset 2819 3b99c908f43b
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: change collect/send thread looping condition to fix infinite loop in some cases
#!/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"]