runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 02 Mar 2018 17:01:25 +0100
changeset 1973 cc7a46953471
parent 1963 targets/typemapping.py@cded8d8a0485
parent 1902 targets/typemapping.py@2b7e2db31d81
permissions -rw-r--r--
merged Sergeys changes
#!/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"]