runtime/loglevels.py
author dporopat <denis.poropat@smarteh.si>
Wed, 11 Apr 2018 10:53:48 +0200
branch#2486
changeset 2199 8fd73c6c8aa9
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
#2486 Fix if protocol, register options are not present in wapmconf.json file.
#!/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"]