runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 28 Feb 2022 21:29:46 +0100
branchwxPython4
changeset 3434 1402d5c0e27e
parent 1973 cc7a46953471
permissions -rw-r--r--
Fix sequel of wxPython 4 port : double click on tab wasn't maximizing and was showing exception.
#!/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"]