|
|
|
@ -11,7 +11,7 @@ Fast C++ logging library
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
#### Header-only version
|
|
|
|
|
Copy the include [folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your build tree and use a C++11 compiler.
|
|
|
|
|
Copy the include [folder](include/spdlog) to your build tree and use a C++11 compiler.
|
|
|
|
|
|
|
|
|
|
#### Compiled version (recommended - much faster compile times)
|
|
|
|
|
```console
|
|
|
|
@ -19,7 +19,7 @@ $ git clone https://github.com/gabime/spdlog.git
|
|
|
|
|
$ cd spdlog && mkdir build && cd build
|
|
|
|
|
$ cmake .. && cmake --build .
|
|
|
|
|
```
|
|
|
|
|
see example [CMakeLists.txt](https://github.com/gabime/spdlog/blob/v1.x/example/CMakeLists.txt) on how to use.
|
|
|
|
|
see example [CMakeLists.txt](example/CMakeLists.txt) on how to use.
|
|
|
|
|
|
|
|
|
|
## Platforms
|
|
|
|
|
* Linux, FreeBSD, OpenBSD, Solaris, AIX
|
|
|
|
@ -467,7 +467,7 @@ void mdc_example()
|
|
|
|
|
---
|
|
|
|
|
## Benchmarks
|
|
|
|
|
|
|
|
|
|
Below are some [benchmarks](https://github.com/gabime/spdlog/blob/v1.x/bench/bench.cpp) done in Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz
|
|
|
|
|
Below are some [benchmarks](bench/bench.cpp) done in Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz
|
|
|
|
|
|
|
|
|
|
#### Synchronous mode
|
|
|
|
|
```
|
|
|
|
|