Index: sources/storage/Logger.h =================================================================== diff -u -rc36f8432854c8ab42f71b76da826b50912822cf7 -r7e4af0df6b719d54ee9ec824f17ea022faab4d2e --- sources/storage/Logger.h (.../Logger.h) (revision c36f8432854c8ab42f71b76da826b50912822cf7) +++ sources/storage/Logger.h (.../Logger.h) (revision 7e4af0df6b719d54ee9ec824f17ea022faab4d2e) @@ -39,6 +39,7 @@ #define LOG_APPED_UI(vCONTENT) emit Storage::Logger::I().didLog(" ,UI," + vCONTENT, Storage::Logger::LogType::eLogAppED, true ) #define LOG_APPED_PO(vCONTENT) emit Storage::Logger::I().didLog("POST,UI," + vCONTENT, Storage::Logger::LogType::eLogAppED, true ) #define LOG_APPED_MSG(vID, vTEXT) LOG_APPED(QString("%1,%2").arg(QString("%1").arg(vID,4,16,QLatin1Char('0')).toUpper()).arg(vTEXT)) +#define LOG_APPED_CS(vCONTENT) emit Storage::Logger::I().didLog(" ,CS," + vCONTENT, Storage::Logger::LogType::eLogAppED, true ) // forward declarations class tst_logging; @@ -230,10 +231,12 @@ void postInit(); signals: - void didLogPathSet(Logger::LogType vLogType, const QString &vLogPath); - void didLogIOFail(); - void didLogBackup ( const QString vFileName ); + void didLogPathSet ( Logger::LogType vLogType, const QString &vLogPath ); + void didLogIOFail (); + void didLogBackup ( const QString vFileName ); + void didRetentionLogCS ( quint8 vPercent ); + public slots: bool init(); bool init(QThread &vThread);