Added stopwatch example to README.md

This commit is contained in:
gabime 2020-08-29 03:48:24 +03:00
parent 0348556aac
commit d5048b8b0c

View File

@ -173,7 +173,6 @@ spdlog::flush_every(std::chrono::seconds(3));
#### Stopwatch #### Stopwatch
```c++ ```c++
// Stopwatch support for spdlog (using std::chrono::high_resolution_clock). // Stopwatch support for spdlog (using std::chrono::high_resolution_clock).
// Displays elapsed seconds since construction as double.
#include "spdlog/stopwatch.h" #include "spdlog/stopwatch.h"
void stopwatch_example() void stopwatch_example()
{ {