runtime/loglevels.py
author GP Orcullo <kinsamanka@gmail.com>
Fri, 28 Oct 2022 14:58:25 +0800
branchpython3
changeset 3757 814595c0ea16
parent 1973 cc7a46953471
permissions -rw-r--r--
fix dynamic module loading
#!/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"]