runtime/loglevels.py
author Edouard Tisserant
Thu, 18 Apr 2019 14:29:55 +0200
branchfix_PLC_runtime_shutdown
changeset 2601 9c5b20dc2b2e
parent 1973 cc7a46953471
permissions -rw-r--r--
Enure that all threads are joined before trying to exit
#!/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"]