runtime/loglevels.py
author Edouard Tisserant <edouard@beremiz.fr>
Fri, 08 Nov 2024 11:34:46 +0100
changeset 4035 c317fc64035e
parent 1973 cc7a46953471
permissions -rw-r--r--
eRPC: Version bump
#!/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"]