Commit 172cf26d authored by gabime's avatar gabime

Update comment

parent feefb7e7
...@@ -44,7 +44,7 @@ int main(int, char *[]) ...@@ -44,7 +44,7 @@ int main(int, char *[])
// Backtrace support // Backtrace support
// 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) for later inspection.
// When needed, call dump_backtrace() to see what happened: // When needed, call dump_backtrace() to see what happened:
spdlog::enable_backtrace(10); // create ring buffer with capacity of 10 messages spdlog::enable_backtrace(10); // create ring buffer to store latest 10 messages
for (int i = 0; i < 100; i++) for (int i = 0; i < 100; i++)
{ {
spdlog::debug("Backtrace message {}", i); // not logged.. spdlog::debug("Backtrace message {}", i); // not logged..
......
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