runtime/loglevels.py
author Edouard Tisserant
Tue, 03 Mar 2020 16:29:22 +0100
branchsvghmi
changeset 2852 f7349ca820c9
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: completely fixed indentation of generated widget description. Lets try to keep it as-is until we can use yslt indentation.
#!/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"]