runtime/loglevels.py
author Edouard Tisserant
Thu, 13 Aug 2020 11:30:18 +0200
branchsvghmi
changeset 3025 48e7e336c052
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: HMI:VarInit:"a string"@a_value : empty widget (i.e. empty svg:group) that initialize content of local variables to value given as first argument.
#!/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"]