runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 13 Jan 2020 15:15:01 +0100
branchsvghmi
changeset 2824 074f43e6e114
parent 1973 cc7a46953471
permissions -rw-r--r--
SVGHMI : Added python fomating {port} and {name} to commands so that command can build target URL
#!/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"]