Merge pull request #2024 from p-ranav/patch-1

Fixed typo in README
This commit is contained in:
Gabi Melman 2021-07-30 17:33:10 +03:00 committed by GitHub
commit f237947bdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ void daily_example()
#### Backtrace support #### Backtrace support
```c++ ```c++
// Debug messages can be stored in a ring buffer instead of being logged immediately. // Debug messages can be stored in a ring buffer instead of being logged immediately.
// This is useful in order to display debug logs only when really nededed (e.g. when error happens). // This is useful in order to display debug logs only when really needed (e.g. when error happens).
// When needed, call dump_backtrace() to see them. // When needed, call dump_backtrace() to see them.
spdlog::enable_backtrace(32); // Store the latest 32 messages in a buffer. Older messages will be dropped. spdlog::enable_backtrace(32); // Store the latest 32 messages in a buffer. Older messages will be dropped.