runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 20 Jan 2025 18:45:21 +0100 (3 months ago)
changeset 4092 ac6bbf44491e
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: update generated xslt

previous commit actually didn't include all updates
+ white space fix in foreach widget to align with xslt
#!/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"]