Don't hardcode '.txt.' log file name suffix (resolve #333)

Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
This commit is contained in:
Ľubomír Carik
2017-02-28 00:59:23 +01:00
parent d7a8db8f63
commit fd8df5b820
5 changed files with 40 additions and 45 deletions

View File

@@ -124,7 +124,7 @@ std::shared_ptr<logger> create(const std::string& logger_name, const It& sinks_b
// Create and register a logger with templated sink type
// Example:
// spdlog::create<daily_file_sink_st>("mylog", "dailylog_filename", "txt");
// spdlog::create<daily_file_sink_st>("mylog", "dailylog_filename");
template <typename Sink, typename... Args>
std::shared_ptr<spdlog::logger> create(const std::string& logger_name, Args...);