runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 02 Sep 2021 22:18:14 +0200
branchwxPython4
changeset 3303 0ffb41625592
parent 1973 cc7a46953471
permissions -rw-r--r--
Preliminary support for WxPython 4.1.0. Needs more testing. Grid selection/focus seems broken, and probably many other bugs hidden in dialogs and editors.
#!/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"]