Closed erijo closed 12 years ago
Especially jabber can sometimes give very long log lines. It would be good if the log window could break those. Could be made configurable by adding a check box to the log window. Breaking at word boundaries gives extra credit.
The output could look something like this:
08:29:25.912 [DBG] jabber: [XML out] 08:29:26.342 [DBG] jabber: [XML in] <presence from='someone@somewhere/gmail.0419F28E' to='me@somewhere'><priority>24</priority><caps:c node='http://mail.google.com/xmpp/client/caps' ver='1.1' ext='pmuc-v1 sms-v1 vavinvite-v1' xmlns:caps='http://jabber.org/protocol/caps'/><status/><upd:x xmlns:upd='vcard-temp:x:update'><upd:photo></upd:photo></upd:x></presence> 08:29:26.343 [DBG] jabber: In Client::handleNonrosterPresence()
This gives you the built in wordwrap from QTextEdit. It won't indent the lines as in your suggestion though.
Especially jabber can sometimes give very long log lines. It would be good if the log window could break those. Could be made configurable by adding a check box to the log window. Breaking at word boundaries gives extra credit.
The output could look something like this: