fix callback_sink example, preventing unused parameter error

pull/2610/head
Mohammad Ali 3 years ago
parent 7446b49d4f
commit 0ea3bb629b

@ -142,7 +142,7 @@ void daily_example()
void callback_example() void callback_example()
{ {
// Create the logger // Create the logger
auto logger = spdlog::callback_logger_mt("custom_callback_logger", [](const spdlog::details::log_msg &msg) { auto logger = spdlog::callback_logger_mt("custom_callback_logger", [](const spdlog::details::log_msg &/*msg*/) {
// do what you need to do with msg // do what you need to do with msg
}); });
} }

Loading…
Cancel
Save