runtime/loglevels.py
author dporopat <denis.poropat@smarteh.si>
Tue, 10 Apr 2018 13:36:36 +0200
changeset 1978 526013d2d462
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
#2579 On showing search result, text color of tree item is set to white. We need to change back color to show the result.
#!/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"]