runtime/loglevels.py
author Edouard Tisserant
Mon, 15 Jan 2018 14:43:53 +0100
changeset 1902 2b7e2db31d81
parent 1881 targets/typemapping.py@091005ec69c4
child 1973 cc7a46953471
permissions -rw-r--r--
Clarify licensing, and packaging of runtime only files :
- moved and split targets/typemapping.py into runtime/typemapping.py and runtime/loglevels.py
- added runtime_files.list pointing to files necessary for runtime, and referring to runtime license
#!/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"]