forked from CreatBot/CreatBotKlipperScreen
example: update to including logging
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import gi
|
import gi
|
||||||
|
import logging
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Gdk, GLib
|
from gi.repository import Gtk, Gdk, GLib
|
||||||
@@ -7,6 +8,8 @@ from ks_includes.KlippyGtk import KlippyGtk
|
|||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
logger = logging.getLogger("KlipperScreen.ExamplePanel")
|
||||||
|
|
||||||
def create_panel(*args):
|
def create_panel(*args):
|
||||||
return ExamplePanel(*args)
|
return ExamplePanel(*args)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user