runtime/loglevels.py
author Edouard Tisserant
Thu, 14 Jul 2022 11:35:22 +0200
changeset 3555 a8b6d5e1fda3
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI: add support for user JS script added in inkscape's document properties / scripting / embedded scripts.
#!/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"]