query the spdlog logger name

say we build our spdlog object as the following? logger = std::make_shared<spdlog::logger>("some name", sink_list.begin(), sink_list.end()); Is there a method such as logger->get_name() or anything else that would return "some name" >Solution : Is there a method such as logger->get_name() or anything else that would return "some name" There is. logger->name() (source)

How to play with spdlog?

I downloaded and followed the example 1. Moved to example 2 (Create stdout/stderr logger object) and got stuck. Actually I can run it as it is but if I change spdlog::get("console") to spdlog::get("err_logger") it crashes. Am I supposed to change it like that? #include "spdlog/spdlog.h" #include "spdlog/sinks/stdout_color_sinks.h" void stdout_example() { // create color multi threaded… Read More How to play with spdlog?