mirror of https://github.com/gabime/spdlog.git
Fix a small problem in the basic example
The line
```
SPDLOG_TRACE("Some trace message with param {}", {});
```
which normally is discarded at the compile time since by deafult
`SPDLOG_ACTIVE_LEVEL` is at `SPDLOG_LEVEL_INFO`. If however, one goes
to `tweak.me` and sets
```
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_TRACE
```
suddenly the basic example does not compile any more.
This commit fixes the potential problem.
pull/1367/head
parent
d52e825bbc
commit
9858d4e918
Loading…
Reference in New Issue