14 #ifndef CONSOLEAPPENDER_H 15 #define CONSOLEAPPENDER_H 17 #include "CuteLogger_global.h" 18 #include <AbstractStringAppender.h> 25 virtual QString
format()
const;
26 void ignoreEnvironmentPattern(
bool ignore);
30 const char*
function,
const QString& category,
const QString& message);
33 bool m_ignoreEnvPattern;
36 #endif // CONSOLEAPPENDER_H ConsoleAppender is the simple appender that writes the log records to the std::cerr output stream...
Definition: ConsoleAppender.h:21
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
virtual QString format() const
Returns the current log format string.
Definition: AbstractStringAppender.cpp:63