runtime/loglevels.py
author Edouard Tisserant <edouard@beremiz.fr>
Thu, 28 Mar 2024 12:04:14 +0100
changeset 3920 0d491fada1ad
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: add FlatButton with no active or inactive elements.
#!/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"]