runtime/loglevels.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 27 Jul 2018 22:01:10 +0000
changeset 2253 b0418bb13527
parent 1973 cc7a46953471
permissions -rw-r--r--
Rework README.md, add examples section, add instructions for Modbus extension, more information about runtime.
#!/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"]