This commit is contained in:
Denis Ivaykin 2015-01-14 09:52:38 -06:00
parent 384cdeb225
commit 0f3f65e07c

View File

@ -44,10 +44,7 @@ inline spdlog::async_logger::async_logger(const std::string& logger_name, sinks_
async_logger(logger_name, sinks.begin(), sinks.end(), queue_size, worker_warmup_cb) {}
inline spdlog::async_logger::async_logger(const std::string& logger_name, sink_ptr single_sink, size_t queue_size, const std::function<void()>& worker_warmup_cb) :
async_logger(logger_name,
{
single_sink
}, queue_size, worker_warmup_cb) {}
async_logger(logger_name, { single_sink }, queue_size, worker_warmup_cb) {}
inline void spdlog::async_logger::_set_formatter(spdlog::formatter_ptr msg_formatter)