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