runtime/loglevels.py
author Edouard Tisserant
Tue, 22 Dec 2020 14:53:15 +0100
changeset 2702 f0a70f0246da
parent 1973 cc7a46953471
permissions -rw-r--r--
Runtime: change PLCObject 'BlobAsFile' method to allow customization by overriding
#!/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"]