From 0d97696f784b37d38ea00a3e39459b2226efcb44 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Wed, 30 Mar 2016 19:56:37 +0300 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index da726132..de701532 100644 --- a/README.md +++ b/README.md @@ -134,12 +134,12 @@ int main(int, char* []) syslog_logger->warn("This is warning that will end up in syslog. This is Linux only!"); #endif - //console color example - auto console_out = spdlog::sinks::stderr_sink_st::instance(); - auto color_sink = std::make_shared(console_out); // wraps around another sink - auto color_logger = spd::details::registry::instance().create("Color", color_sink); - color_sink->set_color(spd::level::info, color_sink->bold + color_sink->green); - color_logger->info("Testing color logger..."); + //colored console sink example + auto console_out = spdlog::sinks::stderr_sink_st::instance(); + auto color_sink = std::make_shared(console_out); // wraps around another sink + auto color_logger = spd::details::registry::instance().create("Color", color_sink); + color_sink->set_color(spd::level::info, color_sink->bold + color_sink->green); + color_logger->info("Testing color logger..."); } catch (const spd::spdlog_ex& ex) {