Removed close() from sink to have RAII semantics

This commit is contained in:
gabi
2014-11-05 23:07:20 +02:00
parent 03d9abe8e2
commit 58688d7d1c
12 changed files with 12 additions and 42 deletions

View File

@@ -88,8 +88,8 @@ std::shared_ptr<spdlog::logger> create(const std::string& logger_name, const Arg
// Set global formatter object
void set_formatter(formatter_ptr f);
// Close all loggers and stop logging
void close();
// Stop logging by setting all the loggers to log level OFF
void stop();
//