14 #ifndef ABSTRACTSTRINGAPPENDER_H 15 #define ABSTRACTSTRINGAPPENDER_H 18 #include "CuteLogger_global.h" 19 #include <AbstractAppender.h> 22 #include <QReadWriteLock> 30 virtual QString format()
const;
31 void setFormat(
const QString&);
33 static QString stripFunctionName(
const char*);
36 QString formattedString(
const QDateTime& timeStamp,
Logger::LogLevel logLevel,
const char* file,
int line,
37 const char*
function,
const QString& category,
const QString& message)
const;
40 static QByteArray qCleanupFuncinfo(
const char*);
43 mutable QReadWriteLock m_formatLock;
46 #endif // ABSTRACTSTRINGAPPENDER_H The AbstractAppender class provides an abstract base class for writing a log entries.
Definition: AbstractAppender.h:25
The AbstractStringAppender class provides a convinient base for appenders working with plain text for...
Definition: AbstractStringAppender.h:25
LogLevel
Describes the possible severity levels of the log records.
Definition: Logger.h:99