runtime/loglevels.py
author Edouard Tisserant
Fri, 09 Sep 2022 10:34:23 +0200
changeset 3601 26a2808038fd
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: add an exemple that demonstrate use of Jump widget in different use cases.
#!/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"]