runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 15 Jul 2022 14:50:07 +0200
changeset 3545 67e1707f24c8
parent 1973 cc7a46953471
permissions -rw-r--r--
tests: IDE: prevent edit_project to save modifed example so that it doesn't influence following 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"]