mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Update README.md
This commit is contained in:
@@ -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)..
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user