runtime/loglevels.py
author Edouard Tisserant
Tue, 15 Sep 2020 13:57:06 +0200
changeset 2691 6e4a95621080
parent 1973 cc7a46953471
permissions -rw-r--r--
Modbus: fixed typo in ctype typing.
#!/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"]