runtime/loglevels.py
author etisserant <edouard.tisserant@gmail.com>
Fri, 16 Aug 2024 16:30:50 +0200
changeset 3977 2b0f8c4c8d02
parent 1973 cc7a46953471
permissions -rw-r--r--
C runtime: Fix PLCObject.hpp preventing build.
#!/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"]