Unverified Commit c09641cf authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #1450 from rabbull/fmt_string

Add example to FMT_STRING in README
parents ea5e7182 92467db5
......@@ -300,6 +300,15 @@ void android_example()
android_logger->critical("Use \"adb shell logcat\" to view this message.");
}
```
---
#### Compile-time format string syntax checking
```C++
#include "spdlog/spdlog.h"
int main()
{
spdlog::info(FMT_STRING("{:d} is an invalid format tag"));
}
```
## Benchmarks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment