14#ifndef CONSOLEAPPENDER_H
15#define CONSOLEAPPENDER_H
17#include "CuteLogger_global.h"
18#include <AbstractStringAppender.h>
26 virtual QString
format()
const;
27 void ignoreEnvironmentPattern(
bool ignore);
31 const char* function,
const QString& category,
const QString& message);
34 bool m_ignoreEnvPattern;
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 convenient base for appenders working with plain text for...
Definition: AbstractStringAppender.h:27
virtual QString format() const
Returns the current log format string.
Definition: AbstractStringAppender.cpp:67
ConsoleAppender is the simple appender that writes the log records to the std::cerr output stream.
Definition: ConsoleAppender.h:23
LogLevel
Describes the possible severity levels of the log records
Definition: Logger.h:83