runtime/loglevels.py
author Edouard Tisserant
Thu, 11 Apr 2019 13:41:52 +0200
changeset 2592 1c34bd8c5077
parent 1973 cc7a46953471
permissions -rw-r--r--
force redraw only through EVT_PAINT event and use wxPaintDC, as described in wx documentation
#!/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"]