runtime/loglevels.py
author Edouard Tisserant <edouard@beremiz.fr>
Wed, 03 Apr 2024 14:17:50 +0200
changeset 3922 ffc8da83fdc2
parent 1973 cc7a46953471
permissions -rw-r--r--
SVG: fix HMI:Assign widget to properly handle single-letter variable names.
#!/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"]