runtime/loglevels.py
author Edouard Tisserant
Tue, 20 Aug 2019 10:01:18 +0200
branchsvghmi
changeset 2760 42a7ef43a0d8
parent 1973 cc7a46953471
permissions -rw-r--r--
yslt_noindent : Avoid YSLT's indent logic to interfere when using linequote.
#!/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"]