mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
Fixed example
This commit is contained in:
parent
a7f7984c4a
commit
b5d61b963a
@ -43,7 +43,7 @@ int main(int, char *[])
|
|||||||
|
|
||||||
// Backtrace support.
|
// Backtrace support.
|
||||||
// Auto trigger backtrace of latest debug/trace messages upon when error/critical messages happen..
|
// Auto trigger backtrace of latest debug/trace messages upon when error/critical messages happen..
|
||||||
spdlog::enable_backtrace();
|
spdlog::enable_backtrace(16);
|
||||||
spdlog::trace("Backtrace message 1");
|
spdlog::trace("Backtrace message 1");
|
||||||
spdlog::debug("Backtrace message 2");
|
spdlog::debug("Backtrace message 2");
|
||||||
spdlog::debug("Backtrace message 3");
|
spdlog::debug("Backtrace message 3");
|
||||||
|
Loading…
Reference in New Issue
Block a user