Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabi Melman <gmelman1@gmail.com>2020-02-26 13:54:31 +0300
committerGitHub <noreply@github.com>2020-02-26 13:54:31 +0300
commit4cdb159ccb72002243220f3ec1160206bb6faf39 (patch)
treeb391bba7db2dbef1af05cd7408c446306e2486f8 /include/spdlog/spdlog.h
parentfccb25586f11bee1052bc088f0a5588f9cdcafb7 (diff)
Update spdlog.h
Diffstat (limited to 'include/spdlog/spdlog.h')
-rw-r--r--include/spdlog/spdlog.h5
1 files changed, 2 insertions, 3 deletions
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<spdlog::logger> create(std::string logger_name, SinkArgs
// Useful for initializing manually created loggers with the global settings.
//
// Example:
-// auto console_sink = std::make_shared<spdlog::sinks::stdout_sink_mt>();
-// auto console_logger = std::make_shared<spdlog::logger>("console_logger", console_sink);
-// spdlog::initialize_logger(console_logger);
+// auto mylogger = std::make_shared<spdlog::logger>("mylogger", ...);
+// spdlog::initialize_logger(mylogger);
void initialize_logger(std::shared_ptr<logger> logger);
// Return an existing logger or nullptr if a logger with such name doesn't