runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 27 Jul 2022 10:44:54 +0200
branchwxPython4
changeset 3564 d2ca25a2d5d9
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: fix primary buffer selection being reset on each write to console on X11.

This problem was making debug_project IDE test randomly failing
#!/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"]