runtime/loglevels.py
author GP Orcullo <kinsamanka@gmail.com>
Fri, 28 Oct 2022 14:56:07 +0800
branchpython3
changeset 3756 8db203310f68
parent 1973 cc7a46953471
permissions -rw-r--r--
fix ctypes encoding
#!/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"]