Moved PathLog to Path.Log and import it by default

This commit is contained in:
Markus Lampert
2022-08-09 20:06:40 -07:00
parent 079c0f3908
commit a5a284b148
128 changed files with 1738 additions and 1801 deletions

View File

@@ -22,8 +22,8 @@
from PySide.QtCore import QT_TRANSLATE_NOOP
import FreeCAD
import Path
import re
import PathScripts.PathLog as PathLog
__title__ = "Generic property container to store some values."
__author__ = "sliptonic (Brad Collette)"
@@ -31,10 +31,10 @@ __url__ = "https://www.freecadweb.org"
__doc__ = "A generic container for typed properties in arbitrary categories."
if False:
PathLog.setLevel(PathLog.Level.DEBUG, PathLog.thisModule())
PathLog.trackModule(PathLog.thisModule())
Path.Log.setLevel(Path.Log.Level.DEBUG, Path.Log.thisModule())
Path.Log.trackModule(Path.Log.thisModule())
else:
PathLog.setLevel(PathLog.Level.INFO, PathLog.thisModule())
Path.Log.setLevel(Path.Log.Level.INFO, Path.Log.thisModule())
translate = FreeCAD.Qt.translate