runtime/loglevels.py
author Edouard Tisserant
Wed, 26 Aug 2020 14:27:54 +0200
branchsvghmi
changeset 3041 de4503de2f8c
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: JsonTable now updates range and position variables so that slider widget can update.
#!/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"]