mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 17:13:57 +00:00
Use log.formatted_log_line() in LogViewCommon
This commit is contained in:
@@ -71,7 +71,7 @@ class LogViewCommon(QtGui.QDialog):
|
||||
|
||||
def _add_entry(self, level, time, msg):
|
||||
self.textCursor.movePosition(QtGui.QTextCursor.End)
|
||||
self.textCursor.insertText(time.toString() + ' ' + msg,
|
||||
self.textCursor.insertText(log.formatted_log_line(level, time, msg),
|
||||
self._format(level))
|
||||
self.textCursor.insertBlock()
|
||||
sb = self.browser.verticalScrollBar()
|
||||
|
||||
Reference in New Issue
Block a user