beremiz
Clone
Summary
Browse
Changes
Graph
Trying to get better logging/display of exceptions at runtime's startup
2018-01-24, Edouard Tisserant
60edd0c901f1
Trying to get better logging/display of exceptions at runtime's startup
#!/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"]