runtime/loglevels.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 07 Jan 2019 23:55:05 +0300
branch#2486
changeset 2561 cc7d88679483
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
close #2486 head
#!/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"]