refs #485, allow to close file loggger and using QStringBuilder

This commit is contained in:
Klaus Basan
2016-02-16 15:42:22 +01:00
committed by Mathew Sutcliffe
parent c3722f9198
commit 4a0bc5dda3
2 changed files with 22 additions and 11 deletions

View File

@@ -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: