14 #ifndef FILEAPPENDER_H 15 #define FILEAPPENDER_H 18 #include "CuteLogger_global.h" 19 #include <AbstractStringAppender.h> 23 #include <QTextStream> 32 QString fileName()
const;
33 void setFileName(
const QString&);
37 const char*
function,
const QString& category,
const QString& message);
43 QTextStream m_logStream;
44 mutable QMutex m_logFileMutex;
47 #endif // FILEAPPENDER_H Simple appender that writes the log records to the plain text file.
Definition: FileAppender.h:26
The AbstractStringAppender class provides a convinient base for appenders working with plain text for...
Definition: AbstractStringAppender.h:25
virtual void append(const QDateTime &timeStamp, Logger::LogLevel logLevel, const char *file, int line, const char *function, const QString &category, const QString &message)=0
Writes the log record to the logger instance.
LogLevel
Describes the possible severity levels of the log records.
Definition: Logger.h:99