mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
Fixed issue #137
This commit is contained in:
parent
b85662c536
commit
cbc8ba7203
@ -112,7 +112,7 @@ std::shared_ptr<logger> create(const std::string& logger_name, const It& sinks_b
|
|||||||
// Create and register a logger with templated sink type
|
// Create and register a logger with templated sink type
|
||||||
// Example: spdlog::create<daily_file_sink_st>("mylog", "dailylog_filename", "txt");
|
// Example: spdlog::create<daily_file_sink_st>("mylog", "dailylog_filename", "txt");
|
||||||
template <typename Sink, typename... Args>
|
template <typename Sink, typename... Args>
|
||||||
std::shared_ptr<spdlog::logger> create(const std::string& logger_name, const Args&...);
|
std::shared_ptr<spdlog::logger> create(const std::string& logger_name, Args&...);
|
||||||
|
|
||||||
|
|
||||||
// Register the given logger with the given name
|
// Register the given logger with the given name
|
||||||
|
Loading…
Reference in New Issue
Block a user