runtime/loglevels.py
author Edouard Tisserant
Wed, 12 May 2021 11:36:56 +0200
changeset 2736 a81b72ef156c
parent 1973 cc7a46953471
permissions -rw-r--r--
Add ThirPartyPath call in util.path module, so that individual extensions don't have to each implement same logic to find dependencies
#!/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"]