runtime/loglevels.py
author Dmitriy Kuzmin <z644813828@gmail.com>
Mon, 24 Dec 2018 16:44:06 +0300
changeset 2496 39049d615c0d
parent 1973 cc7a46953471
permissions -rw-r--r--
Fix typos in function names
#!/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"]