runtime/loglevels.py
author Edouard Tisserant
Mon, 12 Feb 2018 13:18:53 +0100
changeset 1929 ed95aa627647
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Fixed pyro timeout for runtime, was set too short and runtime was disconnecting when building PLC
#!/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"]