mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 10:29:02 +08:00
Removed close() from sink to have RAII semantics
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user