projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
logger: Dedup code, fix client Debug Log loglevel
[quassel.git]
/
src
/
common
/
logger.h
diff --git
a/src/common/logger.h
b/src/common/logger.h
index
af8fa3a
..
1f11e46
100644
(file)
--- a/
src/common/logger.h
+++ b/
src/common/logger.h
@@
-51,6
+51,13
@@
public:
QDateTime timeStamp;
LogLevel logLevel;
QString message;
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;
};
/**
};
/**