runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 16 Feb 2018 13:00:06 +0100
changeset 1939 db478d17bc3a
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Added a class to speedup all XSLT queries. WIP, now only for instances_path.xslt / GetInstanceList()
#!/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"]