This commit is contained in:
gabime 2015-04-18 01:47:47 +03:00
commit 9600028521

View File

@ -5,18 +5,16 @@ Very fast, header only, C++ logging library.
## Install ## Install
Just copy the files to your build tree and use a C++11 compiler Just copy the files to your build tree and use a C++11 compiler
## Tested on: ## Platforms
* gcc 4.8.1 and above * Linux (gcc 4.8.1+, clang 3.5+)
* clang 3.5 (Linux and OSX) * Windows (visual studio 2013+, mingw with g++ 4.9.1+)
* visual studio 2013 * Mac OSX (clang 3.5+)
* mingw with g++ 4.9.x
##Features ##Features
* Very fast - performance is the primary goal (see [benchmarks](#benchmarks) below). * Very fast - performance is the primary goal (see [benchmarks](#benchmarks) below).
* Headers only. * Headers only.
* No dependencies - just copy and use. * No dependencies - just copy and use.
* Cross platform - Linux / Windows on 32/64 bits. * Feature rich [call style](#usage-example) using the excellent [cppformat](http://cppformat.github.io/) library.
* **new!** Feature rich [call style](#usage-example) using the excellent [cppformat](http://cppformat.github.io/) library.
* ostream call style is supported too. * ostream call style is supported too.
* Extremely fast asynchronous mode (optional) - using lockfree queues and other tricks to reach millions of calls/sec. * Extremely fast asynchronous mode (optional) - using lockfree queues and other tricks to reach millions of calls/sec.
* [Custom](https://github.com/gabime/spdlog/wiki/Custom-formatting) formatting. * [Custom](https://github.com/gabime/spdlog/wiki/Custom-formatting) formatting.
@ -155,5 +153,6 @@ void custom_class_example()
} }
``` ```
## Tweaking ## Documentation
spdlog can be [tweaked](include/spdlog/tweakme.h) to improve performance even more. Documentation can be found in the [wiki](https://github.com/gabime/spdlog/wiki/1.-QuickStart) pages.