6 #ifndef SWIFT_MISC_FILELOGGER_H
7 #define SWIFT_MISC_FILELOGGER_H
12 #include <QTextStream>
40 static QString getLogFileName();
43 static QString getLogFilePath();
50 void removeOldLogFiles();
51 void writeHeaderToFile();
52 void writeContentToFile(
const QString &content);
58 QString m_previousCategories;
Class to write log messages to file.
void changeLogPattern(const CLogPattern &pattern)
Change the log pattern. Default is to log all messages.
Value class for matching log messages based on their categories.
Streamable status message, e.g.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.