runtime/loglevels.py
author Mario de Sousa <msousa@fe.up.pt>
Sun, 07 Jun 2020 22:32:24 +0100
changeset 2665 978cf239c689
parent 1973 cc7a46953471
permissions -rw-r--r--
Modbus plugin web interface: show the keyword "#ANY#" on TCP servers
#!/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"]