module level loggers added

This commit is contained in:
2023-06-26 13:52:24 +01:00
parent d4df11f62d
commit cfc1279f6c
2 changed files with 14 additions and 7 deletions

View File

@@ -6,13 +6,14 @@ from . import builders
from .data import _configuration
from .gainlayer import SubMixFrame
logger = logging.getLogger(__name__)
class Navigation(ttk.Frame):
logger = logging.getLogger("navigation.navigation")
def __init__(self, parent):
super().__init__(parent)
self.parent = parent
self.logger = logger.getChild(self.__class__.__name__)
self.grid(row=0, column=3, padx=(0, 2), pady=(5, 5), sticky=(tk.W, tk.E))
self.styletable = self.parent.styletable