Update README.md

This commit is contained in:
Gabi Melman 2019-08-29 01:13:43 +03:00 committed by GitHub
parent baf08eee09
commit ac6407bb8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ for(int i = 0; i < 100; i++)
spdlog::debug("Backtrace message {}", i); // not logged yet.. spdlog::debug("Backtrace message {}", i); // not logged yet..
} }
// e.g. if some error happened: // e.g. if some error happened:
spdlog::dump_backtrace(); // log them now! spdlog::dump_backtrace(); // log them now! show the last 32 messages
// or my_logger->dump_backtrace(32).. // or my_logger->dump_backtrace(32)..
``` ```