Commit 20573ab6 authored by Guillaume Seguin's avatar Guillaume Seguin

Start using logging module

parent 016cb3e2
...@@ -35,6 +35,9 @@ from printrun.GCodeAnalyzer import GCodeAnalyzer ...@@ -35,6 +35,9 @@ from printrun.GCodeAnalyzer import GCodeAnalyzer
from printrun.printrun_utils import install_locale, decode_utf8 from printrun.printrun_utils import install_locale, decode_utf8
install_locale('pronterface') install_locale('pronterface')
import logging
logging.basicConfig(format = "%(levelname)s: %(message)s")
def locked(f): def locked(f):
@wraps(f) @wraps(f)
def inner(*args, **kw): def inner(*args, **kw):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment