runtime/loglevels.py
author Edouard Tisserant
Wed, 05 Dec 2018 13:05:51 +0100
changeset 2467 fce6ab7ae156
parent 1973 cc7a46953471
permissions -rw-r--r--
Enure that autostart blocks other @RunInMain PLCObject methods, and _unblocks_ them once autostart is done...
#!/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"]