WIP: The Road to 1.4 #23

Closed
williamjcm wants to merge 24 commits from the-road-to-1point4 into master
Showing only changes of commit b0b227471a - Show all commits

View file

@ -61,13 +61,13 @@ bool tryLockMutex();
#define LOG_INFO(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_INFO(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Info, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Info, message); \
MassBuilderSaveTool::Logger::unlockMutex(); MassBuilderSaveTool::Logger::unlockMutex()
#define LOG_SUCCESS(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_SUCCESS(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Success, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Success, message); \
MassBuilderSaveTool::Logger::unlockMutex(); MassBuilderSaveTool::Logger::unlockMutex()
#define LOG_WARNING(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_WARNING(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Warning, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Warning, message); \
MassBuilderSaveTool::Logger::unlockMutex(); MassBuilderSaveTool::Logger::unlockMutex()
#define LOG_ERROR(message) MassBuilderSaveTool::Logger::lockMutex(); \ #define LOG_ERROR(message) MassBuilderSaveTool::Logger::lockMutex(); \
MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Error, message); \ MassBuilderSaveTool::Logger::addEntry(MassBuilderSaveTool::Logger::EntryType::Error, message); \
MassBuilderSaveTool::Logger::unlockMutex(); MassBuilderSaveTool::Logger::unlockMutex()