From b07069fb4d3c1d88a37188561120219d0fd93369 Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 7 Jul 2018 15:27:17 +0300 Subject: [PATCH] Fixed example --- example/example.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/example.cpp b/example/example.cpp index 3cd1d533..4a851942 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -59,11 +59,11 @@ int main(int, char *[]) void stdout_example() { // create color multi threaded logger - auto console = spdlog::stdout_logger_mt("console"); + auto console = spdlog::stdout_color_mt("console"); console->info("Welcome to spdlog!"); console->error("Some error message with arg: {}", 1); - auto err_logger = spdlog::stderr_logger_mt("error_logger"); + auto err_logger = spdlog::stderr_color_mt("error_logger"); err_logger->error("Some error message"); // Formatting examples