runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 06 Apr 2021 11:47:07 +0200
branchsvghmi
changeset 3223 061796d9855e
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: Widget transform before DnD now should have HMI path as a parameter, but this path isn't computed for some reason... WIP.
#!/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"]