runtime/loglevels.py
author Edouard Tisserant
Wed, 14 Feb 2018 15:39:27 +0100
changeset 1934 67b06b30f2bd
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Changed meaning of -c commandline argument for Beremiz service : only gives DEFAULT wamp config.
If existing project already has a wamp config, it is taken instead.
#!/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"]