runtime/loglevels.py
author Edouard Tisserant
Mon, 11 May 2020 11:10:38 +0200
changeset 2708 ea2aaeaaac4e
parent 1973 cc7a46953471
permissions -rw-r--r--
DEBUG: (IDE side) fixed wrong implementation of anti-rapid-fire leading to systematic delay in subscribing
#!/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"]