mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
refs #485, allow to close file loggger and using QStringBuilder
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c3722f9198
commit
4a0bc5dda3
@@ -27,7 +27,6 @@ namespace BlackMisc
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor.
|
||||
//! Filename defaults to QCoreApplication::applicationName() and path to "."
|
||||
CFileLogger(QObject *parent = nullptr);
|
||||
@@ -48,8 +47,11 @@ namespace BlackMisc
|
||||
//! Change the log pattern. Default is to log all messages.
|
||||
void changeLogPattern(const CLogPattern &pattern) { m_logPattern = pattern; }
|
||||
|
||||
private slots:
|
||||
//! Close file
|
||||
void close();
|
||||
|
||||
private slots:
|
||||
//! Write single status message to file
|
||||
void ps_writeStatusMessageToFile(const BlackMisc::CStatusMessage &statusMessage);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user