runtime/loglevels.py
author Edouard Tisserant
Tue, 21 Feb 2023 11:38:45 +0100
changeset 3731 549763a28934
parent 1973 cc7a46953471
permissions -rw-r--r--
Runtime: move LC_NUMERIC locale setting to Beremiz_service.py.
#!/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"]