runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Fri, 18 Dec 2020 11:50:28 +0100
changeset 2700 144b149cded4
parent 1973 cc7a46953471
permissions -rw-r--r--
runtime: added restart/reset button in web settings. Accidentaly fixed web settings logging feature.
#!/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"]