runtime/loglevels.py
author Edouard Tisserant
Wed, 05 Dec 2018 14:05:35 +0100
changeset 2468 046303391dea
parent 1973 cc7a46953471
permissions -rw-r--r--
PYRO(S): Added timeout on client side to allow unfreezing IDE after some time when communication with target dropped
#!/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"]