From 21d437fbf54e86a39570296643f64a227576b9e2 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Fri, 6 Apr 2018 04:04:50 +0300 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 73347139..940b61ff 100644 --- a/README.md +++ b/README.md @@ -120,8 +120,9 @@ int main(int, char*[]) daily_logger->info(123.44); // Customize msg format for all messages - spd::set_pattern("*** [%H:%M:%S %z] [thread %t] %v ***"); - rotating_logger->info("This is another message with custom format"); + spd::set_pattern("[%^+++%$] [%H:%M:%S %z] [thread %t] %v"); + console->info("This an info message with custom format (and custom color range between the '%^' and '%$')"); + console->error("This an error message with custom format (and custom color range between the '%^' and '%$')"); // Runtime log levels