runtime/loglevels.py
author Edouard Tisserant
Mon, 25 Mar 2019 14:59:54 +0100
branchwx.NewID_abuse_fix
changeset 2554 45d4f9a84c60
parent 1973 cc7a46953471
permissions -rw-r--r--
VariablePanel's menu do not waste Wx IDs anymore (directly binds wx objects rather than crating new ID wit wx.NewId)
#!/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"]