runtime/loglevels.py
author Edouard Tisserant
Fri, 02 Feb 2018 16:24:56 +0100
changeset 1924 fc67b02d44e0
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
More changes in Launcher. Modules to be loaded in the background are given in a list, and assigned as object attributes. Also splitted CreateUI into CloseSplashScreen and CreatueUI.
#!/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"]