Update comment

This commit is contained in:
gabime 2019-09-05 02:31:03 +03:00
parent feefb7e7e2
commit 172cf26d77

View File

@ -44,7 +44,7 @@ int main(int, char *[])
// Backtrace support
// Loggers can store in a ring buffer all messages (including debug/trace) for later inspection.
// 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++)
{
spdlog::debug("Backtrace message {}", i); // not logged..