runtime/loglevels.py
author Edouard Tisserant
Tue, 24 Mar 2020 14:03:19 +0100
branchsvghmi
changeset 2895 89c02b452717
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: ForEach now has working (un)subscribe. Fixed PageSwitch that wasn't behaving when jumping to current page with another path.
#!/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"]