runtime/loglevels.py
author dporopat <denis.poropat@smarteh.si>
Mon, 19 Mar 2018 12:18:07 +0100
branch#2486
changeset 2193 259df9ecf9ca
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
#2486 Reset delay function added. It resets the delay and the retry counter on reconnect.
#!/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"]