Update README.md

This commit is contained in:
Gabi Melman 2014-12-07 06:18:28 +02:00
parent 9b9556fb69
commit 06ce050ab0

View File

@ -16,7 +16,8 @@ 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:```logger.info("Hello {} !!", "world");``` * **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");```
* 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) << "?";```
* [Custom](https://github.com/gabime/spdlog/wiki/Custom-formatting) formatting. * [Custom](https://github.com/gabime/spdlog/wiki/Custom-formatting) formatting.