runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 12 Apr 2023 19:28:37 +0200
branchpython3
changeset 3791 c98646b1c981
parent 1973 cc7a46953471
permissions -rw-r--r--
Fixes for wxPython-4.0.7 (ubuntu22) compatible with wxPython-4.1.x
#!/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"]