runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 10 Sep 2021 14:48:07 +0200
changeset 3349 e7bd3ee40a64
parent 1973 cc7a46953471
permissions -rw-r--r--
Tests/svghmi_scrollbar: Fix variables names and remove useless "OnStart OnStop OnWatchdog" to use defaults.
#!/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"]