38 static CLog* Instance();
41 QString GetLogConfigureFile();
45 int SetFilter(
const QString &szInclude,
const QString &szExclude);
46 int GetFilter(QString &szInclude, QString &szExclude);
51 QString m_szConfigureFile;
55 QString m_szDateFormat;
59 QFileSystemWatcher m_Watcher;
61 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
62 static void myMessageOutput(QtMsgType type,
63 const QMessageLogContext &context,
66 static void myMessageOutput(QtMsgType,
const char *);
68 void checkFileCount();
69 bool checkFileLength();
71 QString getFileName();
72 QString getNextFileName(
const QString szFile);
73 QString getBaseName();
74 int LoadConfigure(
const QString &szFile);
78 void slotFileChanged(
const QString &szPath);