swift
|
Class to write log messages to file. More...
Public Slots | |
void | writeStatusMessageToFile (const swift::misc::CStatusMessage &statusMessage) |
Write single status message to file. | |
Public Member Functions | |
CFileLogger (QObject *parent=nullptr) | |
Constructor. Filename defaults to QCoreApplication::applicationName() and path to ".". | |
~CFileLogger () | |
Destructor. | |
void | changeLogPattern (const CLogPattern &pattern) |
Change the log pattern. Default is to log all messages. | |
void | close () |
Close file. | |
Static Public Member Functions | |
static QString | getLogFileName () |
Get the log file name. | |
static QString | getLogFilePath () |
Get the log file path (including its name) | |
Class to write log messages to file.
Definition at line 21 of file filelogger.h.