beremiz
Clone
Summary
Browse
Changes
Graph
SVGHMI: Parameters common to all widget constructors now passed as ordered parameters.
svghmi
2020-05-10, Edouard Tisserant
1e53d8b60ee9
SVGHMI: Parameters common to all widget constructors now passed as ordered parameters.
#!/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"]