runtime/loglevels.py
author Edouard Tisserant
Fri, 16 Dec 2022 13:43:38 +0100
changeset 3707 3c60c78dfa5d
parent 1973 cc7a46953471
permissions -rw-r--r--
py_ext: add CSV file reading POUs in python extension library
#!/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"]