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:
authorgabime <gmelman1@gmail.com>2016-03-30 19:52:32 +0300
committergabime <gmelman1@gmail.com>2016-03-30 19:52:32 +0300
commitd405027fe97b70e67c126f250f683c9752cdae75 (patch)
tree8f6d6a585cbde67817663f4bd357cefe254dbf90 /example
parentddc9aa8bdf779363919611b294624a004feec8ae (diff)
renamed setColor
Diffstat (limited to 'example')
-rw-r--r--example/example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/example.cpp b/example/example.cpp
index 378e8b8e..a6bcc3d1 100644
--- a/example/example.cpp
+++ b/example/example.cpp
@@ -113,7 +113,7 @@ void color_example()
auto color_sink = std::make_shared<spd::sinks::ansicolor_sink>(console_out); // wraps around another sink
auto color_logger = spd::details::registry::instance().create("Color", color_sink);
color_logger->set_level(spd::level::trace);
- color_sink->setColor(spd::level::info, color_sink->bold + color_sink->green);
+ color_sink->set_color(spd::level::info, color_sink->bold + color_sink->green);
color_logger->info("Testing color logger...");
color_logger->trace("Trace");
color_logger->debug("Debug");