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

View File

@@ -140,7 +140,7 @@ void daily_example()
---
#### Backtrace support
```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:
spdlog::enable_backtrace(32); // create ring buffer with capacity of 32 messages
// or my_logger->enable_backtrace(32)..