mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
Test Case for conditional logging
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user