chore: hide debug log in the log_panel
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / test-with-beamline-plugins (pxi_bec) (push) Skipped
CI / test-with-beamline-plugins (pxii_bec) (push) Skipped
CI / test-with-beamline-plugins (pxiii_bec) (push) Skipped
CI / lint (pull_request) Failing after 1m14s
CI / test (3.13) (pull_request) Successful in 1m25s
CI / test-with-coverage (pull_request) Successful in 1m53s
CI / coverage-analysis (pull_request) Successful in 9s
CI / test (3.11) (pull_request) Canceled after 3m5s
CI / test (3.12) (pull_request) Canceled after 3m0s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Canceled after 2m55s
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Canceled after 2m55s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Canceled after 2m50s

This commit is contained in:
2026-08-12 10:11:54 +02:00
parent 8a9f35ef74
commit 328a46b09c
+3
View File
@@ -1,3 +1,5 @@
import logging
from aarecommon.config.logger import attach_to_logger, find_existing_formatter
from PySide6.QtCore import QTimer, Signal, Slot
from PySide6.QtWidgets import (
@@ -221,6 +223,7 @@ class LogPanel(QWidget):
self.emitter.message.connect(self._append_line)
self.handler = QtLogHandler(self.emitter)
self.handler.setLevel(logging.INFO) # hide the debug log
self.handler.setFormatter(find_existing_formatter())
def attach_logger(self, logger_name: str = "aareGUI"):