Index: sources/storage/Logger.h =================================================================== diff -u -r14cd1c61c1b956e7605d63be7450657817d17355 -rfe30c662d0fdf9df32883c17772b5803b84d229e --- sources/storage/Logger.h (.../Logger.h) (revision 14cd1c61c1b956e7605d63be7450657817d17355) +++ sources/storage/Logger.h (.../Logger.h) (revision fe30c662d0fdf9df32883c17772b5803b84d229e) @@ -7,7 +7,7 @@ * * \file Logger.h * \author (last) Behrouz NematiPour - * \date (last) 01-Mar-2024 + * \date (last) 12-Mar-2024 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * @@ -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);