runtime/loglevels.py
author Edouard Tisserant
Tue, 11 Feb 2020 13:56:48 +0100
changeset 2707 c26195654ae9
parent 1973 cc7a46953471
permissions -rw-r--r--
XSLTransform.py: added get_error_log()
#!/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"]