6#ifndef DUALFILELOGGER_H
7#define DUALFILELOGGER_H
16namespace stefanfrings {
46 DualFileLogger(QSettings* firstSettings, QSettings* secondSettings,
47 const int refreshInterval=10000, QObject *parent =
nullptr);
59 virtual void log(
const QtMsgType type,
const QString& message,
const QString &file=
"",
60 const QString &function=
"",
const int line=0);
68 virtual void clear(
const bool buffer=
true,
const bool variables=
true);
Writes log messages into two log files simultaneously.
Logger that uses a text file for output.
Decorates and writes log messages to the console, stderr.