From 97c201297f8599ea6399c5c3ca3fe5ba1c6c4388 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 10 Jul 2018 10:40:25 +0300 Subject: [PATCH] Udpated example --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index c848141d..04e5aec3 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -171,7 +171,7 @@ void user_defined_example() void err_handler_example() { // can be set globally or per logger(logger->set_error_handler(..)) - spdlog::set_error_handler([](const std::string &msg) { spdlog::get("console")->error("*** LOGGER ERROR ***: {}", msg); }); + spdlog::set_error_handler([](const std::string &msg) { spdlog::get("console")->error("*** ERROR HANDLER EXAMPLE ***: {}", msg); }); spdlog::get("console")->info("some invalid message to trigger an error {}{}{}{}", 3); }