Fixed registry functions

This commit is contained in:
gabime
2015-04-11 17:15:20 +03:00
parent 623f59ce6f
commit 256c64d72f
3 changed files with 20 additions and 12 deletions

View File

@@ -32,9 +32,9 @@
#include "../sinks/stdout_sinks.h"
#include "../sinks/syslog_sink.h"
inline void spdlog::register_logger(std::shared_ptr<logger> logger, const std::string& logger_name)
inline void spdlog::register_logger(std::shared_ptr<logger> logger)
{
return details::registry::instance().register_logger(logger, logger_name);
return details::registry::instance().register_logger(logger);
}
inline std::shared_ptr<spdlog::logger> spdlog::get(const std::string& name)