1 template<
typename T,
typename... Args>
2 inline T*
makeHandler(
const std::string& handlerName, Args&&... args) {
3 std::unique_ptr<T> handler = std::make_unique<T>(handlerName, std::forward<Args>(args)...);
4 T* handlerRawPtr = handler.get();
5 LoggingFacility::registerHandler(handlerName, std::move(handler));
T * makeHandler(const std::string &handlerName, Args &&... args)