runtime/loglevels.py
author Edouard Tisserant
Tue, 18 Jun 2019 13:58:45 +0200
branchfix_fb_resize_wire_bug
changeset 2616 7a434c8d3f3c
parent 1973 cc7a46953471
permissions -rw-r--r--
GraphicCommons.py : Wire.SetPoints() move filtering before computation of Start and End points to avoid setting them with arbitrary directions.
#!/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"]