40 static CLog* Instance();
43 QString GetLogConfigureFile();
47 int SetFilter(
const QString &szInclude,
const QString &szExclude);
48 int GetFilter(QString &szInclude, QString &szExclude);
53 QString m_szConfigureFile;
57 QString m_szDateFormat;
61 QFileSystemWatcher m_Watcher;
63 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
64 static void myMessageOutput(QtMsgType type,
65 const QMessageLogContext &context,
68 static void myMessageOutput(QtMsgType,
const char *);
70 void checkFileCount();
71 bool checkFileLength();
73 QString getFileName();
74 QString getNextFileName(
const QString szFile);
75 QString getBaseName();
76 int LoadConfigure(
const QString &szFile);
80 void slotFileChanged(
const QString &szPath);