runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 05 Apr 2024 14:59:00 +0200
changeset 3930 1cb8f90bf4fd
parent 1973 cc7a46953471
permissions -rw-r--r--
Merge commit '80e123b34e488ffea851dc2168b366ba6124c09b' into python3
#!/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"]