We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0f4dc41 + 7c22e7a commit 08f08c9Copy full SHA for 08f08c9
cq_editor/widgets/log.py
@@ -21,7 +21,10 @@ class QtLogHandler(logging.Handler,logging.StringFormatterHandlerMixin):
21
def __init__(self, log_widget,*args,**kwargs):
22
23
super(QtLogHandler,self).__init__(*args,**kwargs)
24
- logging.StringFormatterHandlerMixin.__init__(self,None)
+
25
+ log_format_string = '[{record.time:%H:%M:%S%z}] {record.level_name}: {record.message}'
26
27
+ logging.StringFormatterHandlerMixin.__init__(self,log_format_string)
28
29
self.log_widget = log_widget
30
0 commit comments