mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-21 08:10:43 +08:00
Update README.md
This commit is contained in:
parent
06ce050ab0
commit
c55a0c8974
@ -16,7 +16,7 @@ Just copy the files to your build tree and use a C++11 compiler
|
|||||||
* Headers only.
|
* Headers only.
|
||||||
* No dependencies.
|
* No dependencies.
|
||||||
* Cross platform - Linux / Windows on 32/64 bits.
|
* Cross platform - Linux / Windows on 32/64 bits.
|
||||||
* **new**! Feature rich [cppfromat call style](http://cppformat.readthedocs.org/en/stable/syntax.html) using the excellent [cppformat](http://cppformat.github.io/) library:
|
* **new**! Feature rich cppfromat [call style](http://cppformat.readthedocs.org/en/stable/syntax.html) using the excellent [cppformat](http://cppformat.github.io/) library:
|
||||||
* ```logger.info("Hello {} !!", "world");```
|
* ```logger.info("Hello {} !!", "world");```
|
||||||
* ostream call style ```logger.info() << "Hello << "logger";```
|
* ostream call style ```logger.info() << "Hello << "logger";```
|
||||||
* Mixed cppformat/ostream call style ```logger.info("{} + {} = ", 1, 2) << "?";```
|
* Mixed cppformat/ostream call style ```logger.info("{} + {} = ", 1, 2) << "?";```
|
||||||
|
Loading…
Reference in New Issue
Block a user