runtime/loglevels.py
author Edouard Tisserant
Tue, 29 Oct 2019 11:18:58 +0100
branchsvghmi
changeset 2810 63b9a37b73c7
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: various insignificant code moves, commenting and typos fixes.
#!/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"]