Test Case for conditional logging

This commit is contained in:
Asit Kumar Dhal
2017-06-17 17:50:46 +02:00
parent 380233b727
commit de0154c525
4 changed files with 153 additions and 1 deletions

View File

@@ -310,7 +310,7 @@ inline void spdlog::logger::error_if(const bool flag, const T& msg)
{
if (flag)
{
log(level::error, msg);
log(level::err, msg);
}
}