runtime/loglevels.py
author Edouard Tisserant
Wed, 07 Aug 2019 14:18:22 +0200
branchsvghmi
changeset 2750 2694170cd88e
parent 1973 cc7a46953471
permissions -rw-r--r--
intermediate commit, work in progress
#!/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"]