From e500fa013fd7164ab3b72270de1d55a34d58b2a9 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 29 Apr 2018 00:35:32 +0300 Subject: [PATCH] example --- example/example.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/example.cpp b/example/example.cpp index f9859d70..7bb4a917 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -64,6 +64,9 @@ int main(int, char *[]) console->info("This an info message with custom format"); console->error("This an error message with custom format"); + // Change format back to to default + spd::set_pattern ("%+"); + // Runtime log levels spd::set_level(spd::level::info); // Set global log level to info console->debug("This message should not be displayed!");