From 4db70c20787c73703c83e0029766ed27479d7766 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 3 Dec 2017 20:58:19 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index a4293247..74f010be 100644 --- a/README.md +++ b/README.md @@ -93,11 +93,7 @@ int main(int, char*[]) auto console = spd::stdout_color_mt("console"); console->info("Welcome to spdlog!"); console->error("Some error message with arg{}..", 1); - - // Conditional logging example - auto i = 2; - console->warn_if(i != 0, "an important message"); - + // Formatting examples console->warn("Easy padding in numbers like {:08d}", 12); console->critical("Support for int: {0:d}; hex: {0:x}; oct: {0:o}; bin: {0:b}", 42);