logger: Dedup code, fix client Debug Log loglevel
authorShane Synan <digitalcircuit36939@gmail.com>
Thu, 14 Feb 2019 13:58:46 +0000 (14:58 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 14 Feb 2019 21:16:15 +0000 (22:16 +0100)
Deduplicate code by moving LogEntry formatting into a separate
function, LogEntry::toString(), which applies timestamps and the log
level string.

Fix client Debug Log dialog to print log level using this new function.

Modify msgWithTime() to use this new function, too.


No differences found