runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Thu, 15 Feb 2024 17:03:06 +0100
changeset 3896 df7ce3e1f44d
parent 1973 cc7a46953471
permissions -rw-r--r--
Updates requirements.txt about forks of Nevow and sslpsk
#!/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"]