beremiz

Better logging of Nevow Server import in case of exception.
nevow_service_rework
2018-07-05, Edouard Tisserant
73b7034693b9
Better logging of Nevow Server import in case of exception.
#!/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"]