mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Update README.md
This commit is contained in:
parent
8a6b5b9e62
commit
cabbe65be4
@ -399,7 +399,7 @@ void replace_default_logger_example()
|
||||
auto new_logger = spdlog::basic_logger_mt("new_default_logger", "logs/new-default-log.txt", true);
|
||||
spdlog::set_default_logger(new_logger);
|
||||
spdlog::set_level(spdlog::level::trace);
|
||||
spdlog::trace("This message should be displayed..");
|
||||
spdlog::trace("This message should appear..");
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user