runtime/loglevels.py
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 23 May 2018 11:47:56 +0300
changeset 2014 e6ff712e20f8
parent 1973 cc7a46953471
permissions -rw-r--r--
Fix typos introduced by 9fa2f8e "Fixed random segfault happening when loading new PLC in runtime, when using Xenonai."
#!/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"]