Update README.md

This commit is contained in:
Gabi Melman 2021-12-12 10:01:34 +02:00 committed by GitHub
parent 4cb1187871
commit 3f49f0f247
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -398,6 +398,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::info("new logger log message");
}
```