Update README.md
This commit is contained in:
parent
4efbd950d6
commit
23060c6c9d
@ -133,13 +133,13 @@ int main(int, char*[])
|
|||||||
syslog_example();
|
syslog_example();
|
||||||
|
|
||||||
// Log user-defined types example..
|
// Log user-defined types example..
|
||||||
user_defined_example();
|
user_defined_example();
|
||||||
|
|
||||||
// Change default log error handler
|
// Change default log error handler
|
||||||
err_handler_example();
|
err_handler_example();
|
||||||
|
|
||||||
// Apply a function on all registered loggers
|
// Apply a function on all registered loggers
|
||||||
spd::apply_all([&](std::shared_ptr<spdlog::logger> l) {l->info("End of example."); });
|
spd::apply_all([&](std::shared_ptr<spdlog::logger> l) {l->info("End of example."); });
|
||||||
|
|
||||||
// Release and close all loggers
|
// Release and close all loggers
|
||||||
spdlog::drop_all();
|
spdlog::drop_all();
|
||||||
|
Loading…
Reference in New Issue
Block a user