Update README.md

This commit is contained in:
Gabi Melman 2019-08-28 20:13:35 +03:00 committed by GitHub
parent c517cb64ae
commit 37bfa092a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ void daily_example()
--- ---
#### Backtrace support #### Backtrace support
```c++ ```c++
// Loggers can store in a ring buffer all messages (including debug/trace) for later inspection. // Loggers can store in a ring buffer all messages (including debug/trace) and display later on demand.
// When needed, call dump_backtrace() to see what happened: // When needed, call dump_backtrace() to see what happened:
spdlog::enable_backtrace(32); // create ring buffer with capacity of 32 messages spdlog::enable_backtrace(32); // create ring buffer with capacity of 32 messages
// or my_logger->enable_backtrace(32).. // or my_logger->enable_backtrace(32)..