Update README.md

This commit is contained in:
Gabi Melman 2014-12-07 06:23:53 +02:00
parent 06ce050ab0
commit c55a0c8974

View File

@ -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) << "?";```