Create a logger with a single sink.

This commit is contained in:
Kevin M. Godby
2016-06-17 00:29:12 -05:00
parent 33a185188c
commit e16cb511e5
2 changed files with 8 additions and 0 deletions

View File

@@ -91,6 +91,9 @@ std::shared_ptr<logger> syslog_logger(const std::string& logger_name, const std:
#endif
// Create and register a logger a single sink
std::shared_ptr<logger> create(const std::string& logger_name, const sink_ptr& sink);
// Create and register a logger with multiple sinks
std::shared_ptr<logger> create(const std::string& logger_name, sinks_init_list sinks);
template<class It>