runtime/loglevels.py
author Edouard Tisserant
Tue, 30 Jan 2018 16:06:58 +0100
changeset 1912 8391c11477f4
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Merged Mario's modbus branch. Fixed line endings.
#!/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"]