runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 18 Feb 2018 22:29:35 +0100
changeset 1946 95fa4e05e30f
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Avoid endline escaping in multiline xpath epressions in xslt. '&#10;' Is apparently ignored but never know...
#!/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"]