runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 17 Aug 2022 15:55:56 +0200
branchwxPython4
changeset 3586 cbc6a6ccd52e
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: Fixed About dialog exception on Windows, and typo in about dialog's content.
#!/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"]