runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 21 Oct 2022 17:52:45 +0200
branchwxPython4
changeset 3641 d8dc29dfc344
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: fix exception when re-opening previously closed tab
#!/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"]