18#include "CuteLogger_global.h"
19#include <AbstractStringAppender.h>
32 QString fileName()
const;
33 void setFileName(
const QString&);
35 bool flushOnWrite()
const;
36 void setFlushOnWrite(
bool);
44 const char* function,
const QString& category,
const QString& message);
51 QTextStream m_logStream;
52 mutable QMutex m_logFileMutex;
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.
The AbstractStringAppender class provides a convinient base for appenders working with plain text for...
Definition AbstractStringAppender.h:26
Simple appender that writes the log records to the plain text file.
Definition FileAppender.h:27
LogLevel
Describes the possible severity levels of the log records.
Definition Logger.h:101