runtime/loglevels.py
author Edouard Tisserant
Thu, 05 Jul 2018 13:46:18 +0200
branchnevow_service_rework
changeset 2215 f808ec7dc10e
parent 1973 cc7a46953471
permissions -rw-r--r--
Fixed i18n related typo.
#!/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"]