runtime/loglevels.py
author Edouard Tisserant
Fri, 09 Aug 2019 12:07:33 +0200
branchsvghmi
changeset 2752 a8c9b7f0a54a
parent 1973 cc7a46953471
permissions -rw-r--r--
Moved XSLT model query python code so that XSLT part can be reused for other transformations (i.e. in SVGHMI)
#!/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"]