runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 18 Oct 2023 19:28:35 +0200
changeset 3869 b722c800b6c7
parent 1973 cc7a46953471
permissions -rw-r--r--
Python3 fixes for Modbus Web Settings
#!/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"]