runtime/loglevels.py
author Edouard Tisserant
Wed, 24 Jan 2018 14:48:49 +0100
changeset 1905 87c908079bc6
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Changed way to deal with extensions arguments (-e) so that path and filename are stored independently and accessible for extensions themselves.
#!/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"]