runtime/loglevels.py
author Edouard Tisserant
Fri, 16 Dec 2022 13:46:07 +0100
changeset 3708 2299f25779ce
parent 1973 cc7a46953471
permissions -rw-r--r--
examples: add "csv_read" project to demo CSV access from PLC
#!/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"]