runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Tue, 11 Oct 2022 15:02:07 +0200
branchwxPython4
changeset 3633 837e7782d83e
parent 1973 cc7a46953471
permissions -rw-r--r--
OPC-UA: better logging in case of failure at init
#!/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"]