runtime/loglevels.py
author Edouard Tisserant
Thu, 10 Dec 2020 15:48:15 +0100
changeset 2699 467ff0e58327
parent 1973 cc7a46953471
permissions -rw-r--r--
Add a little test to see OnChange's .count .first .last in action
#!/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"]