runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 13 Sep 2022 10:11:25 +0200
branchwxPython4
changeset 3590 09dad7f00c36
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: fix wxPython 3->4 API change leading to exception in type selection menu in CodeFileEditor
#!/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"]