runtime/loglevels.py
author Edouard Tisserant
Thu, 16 Aug 2018 11:22:40 +0200
changeset 2269 2e38b5ec4753
parent 1973 cc7a46953471
permissions -rw-r--r--
Fixed new code-generation code, that was making exception with simple variable-to-variable assignments.
#!/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"]