runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sun, 21 Aug 2022 17:44:03 +0200
branchwxPython4
changeset 3587 295f21f9c581
parent 1973 cc7a46953471
permissions -rw-r--r--
Cleanup and update version.py
#!/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"]