mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
refs #467 CFileLogger must not use CLogSubscriber or CLogPatternHandler because this would cause undesired dbus traffic.
This commit is contained in:
@@ -45,8 +45,8 @@ namespace BlackMisc
|
||||
//! Destructor.
|
||||
~CFileLogger();
|
||||
|
||||
//! Change the log pattern. Call this method at least once to start logging
|
||||
void changeLogPattern(const CLogPattern &pattern);
|
||||
//! Change the log pattern. Default is to log all messages.
|
||||
void changeLogPattern(const CLogPattern &pattern) { m_logPattern = pattern; }
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -60,7 +60,7 @@ namespace BlackMisc
|
||||
void writeHeaderToFile();
|
||||
void writeContentToFile(const QString &content);
|
||||
|
||||
CLogSubscriber m_logSubscriber;
|
||||
CLogPattern m_logPattern;
|
||||
QFile m_logFile;
|
||||
QTextStream m_stream;
|
||||
QString m_applicationName;
|
||||
|
||||
Reference in New Issue
Block a user