runtime/loglevels.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 29 Jun 2018 17:53:57 +0300
changeset 2240 e684aed23407
parent 1973 cc7a46953471
permissions -rw-r--r--
Automatically increment IEC-location address if copy of the variable is created
#!/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"]