runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 12 Jul 2021 23:26:14 +0200
branchsvghmi
changeset 3275 1fd8bef23f67
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: fixed bug introduced in 7bdb766c2a4d, typo breaking meter widget
#!/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"]