runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 25 Feb 2022 14:04:09 +0100
branchwxPython4
changeset 3433 e60bb9b3d498
parent 1973 cc7a46953471
permissions -rw-r--r--
Tests: Makefile's PIPESTATUS turned into small letters (wrong vim shortcut ?) leading to always passing tests.
#!/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"]