Unverified Commit baf08eee authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update README.md

parent 04a43cd6
...@@ -141,7 +141,7 @@ void daily_example() ...@@ -141,7 +141,7 @@ void daily_example()
#### Backtrace support #### Backtrace support
```c++ ```c++
// Loggers can store in a ring buffer all messages (including debug/trace) and display later on demand. // 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 them
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)..
for(int i = 0; i < 100; i++) for(int i = 0; i < 100; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment