runtime/loglevels.py
author Edouard Tisserant
Wed, 02 Dec 2020 14:32:56 +0100
branchsvghmi
changeset 3083 45f044cf845b
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: stuff test so that it moves all the time, to have better chance to spot memory leaks...
#!/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"]