runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 15 Apr 2024 09:09:59 +0200
changeset 3932 62d04933d569
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: Fix Variable grid ignoring edits. WxPython4 consequence.
#!/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"]