runtime/loglevels.py
author Edouard Tisserant
Thu, 08 Nov 2018 09:39:06 +0100
changeset 2329 e5703dc8848e
parent 1973 cc7a46953471
permissions -rw-r--r--
URI editor : Rewrote most of it, cleaner.
#!/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"]