runtime/loglevels.py
author Edouard Tisserant
Thu, 17 Dec 2020 19:31:00 +0100
branchsvghmi
changeset 3092 96ffd8b1b016
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: added dropdown selection highlighting and fixed scrolling so that it doesn't miss any entry while jumping from one page to the other.
#!/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"]