runtime/loglevels.py
author Mario de Sousa <msousa@fe.up.pt>
Sun, 07 Jun 2020 18:34:32 +0100
changeset 2663 54f5b8e5c8d2
parent 1973 cc7a46953471
permissions -rw-r--r--
Modbus plugin: fix algorithm detecting Modbus TCP servers using the same IP port on the same network interface
#!/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"]