runtime/loglevels.py
author Edouard Tisserant
Tue, 06 Apr 2021 16:05:58 +0200
branchsvghmi
changeset 3225 cfa5690c8c15
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: Naive implementation of widget path substitution in widget DnD: considers widget always have only one variable, and no type checking.
#!/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"]