X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Flogger.h;h=1f11e46edd51b1a77109ef8b0b81eab29aff4b90;hp=af8fa3af4b059221376f31a575c2cafb48897f23;hb=3c910a417a72dfa529ad514d9a616139b7d57bab;hpb=5f771f4a6942248ebe0a5a690f19e509328265cf diff --git a/src/common/logger.h b/src/common/logger.h index af8fa3af..1f11e46e 100644 --- a/src/common/logger.h +++ b/src/common/logger.h @@ -51,6 +51,13 @@ public: QDateTime timeStamp; LogLevel logLevel; QString message; + + /** + * Gets this log entry in a printable format, with timestamp and log level + * + * @return the log entry, formatted with timestamp and log level + */ + QString toString() const; }; /**