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.
1 parent 39134b3 commit 21eb731Copy full SHA for 21eb731
Doc/howto/logging-cookbook.rst
@@ -2949,7 +2949,7 @@ refer to the comments in the code snippet for more detailed information.
2949
# The functions below update the UI and run in the main thread because
2950
# that's where the slots are set up
2951
2952
- @Slot(str)
+ @Slot(str, logging.LogRecord)
2953
def update_status(self, status, record):
2954
color = self.COLORS.get(record.levelno, 'black')
2955
s = '<pre><font color="%s">%s</font></pre>' % (color, status)
0 commit comments