runtime/loglevels.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 04 Jul 2018 16:41:02 +0300
changeset 2242 492c1c046c82
parent 1973 cc7a46953471
permissions -rw-r--r--
Add full screen mode (menu and title are hidden)

It's can be switched by pressing Shift-F12 or by clicking button on the toolbar
#!/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"]