6#ifndef SWIFT_MISC_FILELOGGER_H
7#define SWIFT_MISC_FILELOGGER_H
40 static QString getLogFileName();
43 static QString getLogFilePath();
50 void removeOldLogFiles();
51 void writeHeaderToFile();
52 void writeContentToFile(
const QString &content);
void changeLogPattern(const CLogPattern &pattern)
Change the log pattern. Default is to log all messages.
CFileLogger(QObject *parent=nullptr)
Constructor. Filename defaults to QCoreApplication::applicationName() and path to "....
Value class for matching log messages based on their categories.
Streamable status message, e.g.
Free functions in swift::misc.
QObject * parent() const const
#define SWIFT_MISC_EXPORT
Export a class or function from the library.