9 static std::unordered_map<std::string, std::unique_ptr<Logger>>
loggers{};
10 static std::unordered_map<std::string, std::unique_ptr<Handler>>
handlers{};
13 loggers[loggerName] = std::move(logger);
17 return loggers[loggerName].get();
21 handlers[handlerName] = std::move(handler);
static void registerHandler(const std::string &handlerName, std::unique_ptr< Handler > handler)
static std::unordered_map< std::string, std::unique_ptr< Logger > > loggers
static void registerLogger(const std::string &loggerName, std::unique_ptr< Logger > logger)
static Handler * getHandler(const std::string &handlerName)
static Logger * getLogger(const std::string &loggerName)
static std::unordered_map< std::string, std::unique_ptr< Handler > > handlers