runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 18 Apr 2020 14:06:41 +0200
branchsvghmi
changeset 2939 4296ab974d4d
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: Move reflective debug tags from "reflect" to "debug" namespace, preparing for per-purpose namespaces.
#!/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"]