runtime/loglevels.py
author GP Orcullo <kinsamanka@gmail.com>
Fri, 28 Oct 2022 15:19:24 +0800
branchpython3
changeset 3758 bc71b19b45ff
parent 1973 cc7a46953471
permissions -rw-r--r--
switch to pickle from cPickle
#!/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"]