runtime/loglevels.py
author Edouard Tisserant
Wed, 17 Jul 2019 09:44:11 +0200
branchsvghmi
changeset 2747 e96aa2e3231e
parent 1973 cc7a46953471
permissions -rw-r--r--
Enable svghmi plugin in features, and small fixes to skeleton.
#!/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"]