mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Update README.md
This commit is contained in:
parent
23060c6c9d
commit
f09e0bd047
@ -133,12 +133,12 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user