diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 7a05e6fe..9ac04be0 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -42,9 +42,8 @@ inline std::shared_ptr create(std::string logger_name, SinkArgs // Useful for initializing manually created loggers with the global settings. // // Example: -// auto console_sink = std::make_shared(); -// auto console_logger = std::make_shared("console_logger", console_sink); -// spdlog::initialize_logger(console_logger); +// auto mylogger = std::make_shared("mylogger", ...); +// spdlog::initialize_logger(mylogger); void initialize_logger(std::shared_ptr logger); // Return an existing logger or nullptr if a logger with such name doesn't