Unverified Commit 00a7f5d7 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update README.md

parent 2463fe92
......@@ -102,6 +102,9 @@ int main()
SPDLOG_TRACE("Some trace message with param {}", {});
SPDLOG_DEBUG("Some debug message");
// Set the default logger to file logger
auto file_logger = spdlog::basic_logger_mt("basic_logger", "logs/basic.txt");
spdlog::set_default_logger(file_logger);
}
```
#### create stdout/stderr logger object
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment