runtime/loglevels.py
author Edouard Tisserant
Mon, 20 Jun 2022 09:30:11 +0200
changeset 3519 43b2bff95289
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: also use order-preserving detach re-attach for hiding and showing active and inactive state.
#!/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"]