1
0
forked from IPKM/nmreval

adjust log level for dockwidget (#258)

Co-authored-by: Dominik Demuth <dominik.demuth@physik.tu-darmstadt.de>
Reviewed-on: IPKM/nmreval#258
This commit is contained in:
Dominik Demuth 2024-03-27 16:59:43 +00:00
parent 2f9cb761cf
commit 299bb043ea

View File

@ -135,6 +135,7 @@ class QTextHandler(logging.Handler):
self.console = ConsoleDock(parent)
self.setFormatter(logging.Formatter('%(asctime)s - %(levelname)s - %(message)s'))
self.setLevel(logging.WARNING)
def emit(self, record):
msg = self.format(record)