runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 14 Apr 2020 17:15:02 +0200
branchsvghmi
changeset 2928 c73d0b042ca8
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: HMI:DropDown element is brought in front when opened, so that it isn't occulted by other widgets at the same level.
#!/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"]