runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 21 Aug 2021 11:02:09 +0200
branchsvghmi
changeset 3297 7e59bd180bc6
parent 1973 cc7a46953471
permissions -rw-r--r--
IDE: systematically log command when launching process (was not showing in case of LOCAL:// runtime being launched)
#!/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"]