runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 09 Sep 2021 09:37:03 +0200
branchwxPython4
changeset 3309 446b2c3da6e6
parent 1973 cc7a46953471
permissions -rw-r--r--
Workaround missing "IsMaximized" attribute for AuiPaneInfo in wxPython 4.1.0
#!/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"]