diff options
author | crupest <crupest@outlook.com> | 2019-12-13 23:53:06 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-12-13 23:53:06 +0800 |
commit | 221c62de313ad811ca2b3ae8ba43996c96c347bc (patch) | |
tree | 57419e033536e4a9aec0b3ecd26274120352a6f2 /include/cru/common/logger.hpp | |
parent | f452d4826ad4023c28d6dd59686b3cf5d6340235 (diff) | |
download | cru-221c62de313ad811ca2b3ae8ba43996c96c347bc.tar.gz cru-221c62de313ad811ca2b3ae8ba43996c96c347bc.tar.bz2 cru-221c62de313ad811ca2b3ae8ba43996c96c347bc.zip |
...
Diffstat (limited to 'include/cru/common/logger.hpp')
-rw-r--r-- | include/cru/common/logger.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cru/common/logger.hpp b/include/cru/common/logger.hpp index 61d97422..35b16940 100644 --- a/include/cru/common/logger.hpp +++ b/include/cru/common/logger.hpp @@ -91,6 +91,8 @@ void Debug(const std::string_view& format, TArgs&&... args) { #ifdef CRU_DEBUG Logger::GetInstance()->Log( LogLevel::Debug, util::Format(format, std::forward<TArgs>(args)...)); +#else + CRU_UNUSED(format) #endif } |