runtime/loglevels.py
author Edouard Tisserant <edouard.tisserant@gmail.com>
Sat, 17 Feb 2018 16:42:56 +0100
changeset 1942 a4382ae1ba82
parent 1902 2b7e2db31d81
child 1973 cc7a46953471
permissions -rw-r--r--
Added /plcopen/InstancesPathCollector.py, to move more model xslt querying code away from PLCController.py.
#!/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"]