runtime/loglevels.py
author Edouard Tisserant
Thu, 21 Oct 2021 09:45:21 +0200
changeset 3372 e5cb7447320c
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: prevents watchdog being triggered when SVGHMI is empty.
#!/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"]