runtime/loglevels.py
author Edouard Tisserant
Fri, 06 Jul 2018 15:05:03 +0200
branchnevow_service_rework
changeset 2216 8ae29ec2d1dc
parent 1973 cc7a46953471
permissions -rw-r--r--
Fix misc typos in exception handling code.
#!/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"]