beremiz
Clone
Summary
Browse
Changes
Graph
Modbus: More verbose error message in case of thread creation problem
2023-11-22, Edouard Tisserant
098875cff39f
Modbus: More verbose error message in case of thread creation problem
#!/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"]