runtime/loglevels.py
author GP Orcullo <kinsamanka@gmail.com>
Sat, 04 Feb 2023 07:18:21 +0800
branchpython3
changeset 3783 741d0010b4b2
parent 1973 cc7a46953471
permissions -rw-r--r--
fix str encoding issue
#!/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"]