Index: sources/storage/Logger.h =================================================================== diff -u -r265ce7409a0ea99a4ae059f5ce7978c9cdb10631 -r8b044d8ef7db6f72c65aa6109d5f29a79bca92a2 --- sources/storage/Logger.h (.../Logger.h) (revision 265ce7409a0ea99a4ae059f5ce7978c9cdb10631) +++ sources/storage/Logger.h (.../Logger.h) (revision 8b044d8ef7db6f72c65aa6109d5f29a79bca92a2) @@ -22,13 +22,14 @@ // Project #include "main.h" // Doxygen : do not remove #include "StorageGlobals.h" +#include "GuiGlobals.h" // Define #define _Logger Storage::Logger::I() -#define LOG_EXPORTLOG _Logger.concurrentExportLogs() -#define LOG_EXPORTERR _Logger.concurrentExportErrs() -#define LOG_EXPORTTRT _Logger.concurrentExportTrts() +#define LOG_EXPORTLOG(vExportName) _Logger.concurrentExportLogs(vExportName) +#define LOG_EXPORTERR(vExportName) _Logger.concurrentExportErrs(vExportName) +#define LOG_EXPORTTRT(vExportName) _Logger.concurrentExportTrts(vExportName) #define ADD_EVENT_HEADER emit Storage::Logger::I().didLog(_headerE, Storage::Logger::LogType::eLogEvent, false) #define LOG_EVENT(vCONTENT) emit Storage::Logger::I().didLog(vCONTENT, Storage::Logger::LogType::eLogEvent, true ) @@ -198,14 +199,14 @@ // ----- Export structure private : - bool exportLogs(); - bool exportErrs(); - bool exportTrts(); + bool exportLogs(const Gui::GuiStringIndexMap &vExportList); + bool exportErrs(const Gui::GuiStringIndexMap &vExportList); + bool exportTrts(const Gui::GuiStringIndexMap &vExportList); public slots: // this slot is thread safe and can be called from outside by LOG_EXPORT. bool concurrentExportIsOk (); - bool concurrentExportLogs (); - bool concurrentExportErrs (); - bool concurrentExportTrts (); + bool concurrentExportLogs (const Gui::GuiStringIndexMap &vExportList); + bool concurrentExportErrs (const Gui::GuiStringIndexMap &vExportList); + bool concurrentExportTrts (const Gui::GuiStringIndexMap &vExportList); void onExportLogs (); signals: void didExportLogs();