runtime/loglevels.py
author dgaberscek
Wed, 22 Apr 2020 15:33:53 +0200
branchsvghmi
changeset 2944 2a20038fbea9
parent 1973 cc7a46953471
permissions -rw-r--r--
Added button and circular bar widgets.
#!/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"]