runtime/loglevels.py
author Edouard Tisserant
Wed, 11 Jul 2018 14:32:19 +0200
branchnevow_service_rework
changeset 2221 e03f7649bfb3
parent 1973 cc7a46953471
permissions -rw-r--r--
WAMP: now config and secret given in project files always override those given in commandline. Also made extensions web customisations happen before registration of web interface.
#!/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"]