mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 09:51:03 +08:00
Create a logger with a single sink.
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user