Update README.md
This commit is contained in:
parent
c517cb64ae
commit
37bfa092a5
@ -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)..
|
||||
|
Loading…
Reference in New Issue
Block a user