runtime/loglevels.py
author Edouard Tisserant
Wed, 12 Sep 2018 11:36:50 +0200
changeset 2273 a0efe3d9c853
parent 1973 cc7a46953471
permissions -rw-r--r--
Flush standard output when runtime ready, so that IDE knows it, and can continue connection to LOCAL:// uri
#!/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"]