runtime/loglevels.py
author Edouard Tisserant
Fri, 23 Jul 2021 13:15:19 +0200
branchsvghmi
changeset 3288 8f3cb4b47cbb
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: Add a "undo" button for each field in CTN config panel to reset to default value.
#!/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"]