runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Wed, 18 Nov 2020 23:06:16 +0100
branchsvghmi
changeset 3071 e1145e6bdeec
parent 1973 cc7a46953471
permissions -rw-r--r--
Project tree: Clicking on ConfigTreeNode should have same behaviour as for POUS and other IEC types : simple click to select and double click to open.
#!/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"]