runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 02 Feb 2023 17:17:04 +0100
branchwxPython4
changeset 3720 d0a9c01ee7a5
parent 1973 cc7a46953471
permissions -rw-r--r--
Tests: IDE: explicitely wait for build success rather than just stdout to become silent.
#!/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"]