From 14047bdde4d9b50dfd91b1ff2ecd4739f6002c54 Mon Sep 17 00:00:00 2001 From: nojhan Date: Wed, 7 Sep 2022 22:45:00 +0200 Subject: [PATCH] fix: let default format have the {name} in release --- clutchlog/clutchlog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutchlog/clutchlog.h b/clutchlog/clutchlog.h index 6332e50..bbf8a04 100644 --- a/clutchlog/clutchlog.h +++ b/clutchlog/clutchlog.h @@ -199,7 +199,7 @@ class clutchlog #ifndef CLUTCHLOG_DEFAULT_FORMAT //! Compile-time default format of the messages (non-debug mode: without absolute location). #if CLUTCHLOG_HAVE_UNIX_SYSINFO == 1 - #define CLUTCHLOG_DEFAULT_FORMAT "{level_letter}:{depth_marks} {msg} {hfill} {func}\n" + #define CLUTCHLOG_DEFAULT_FORMAT "[{name}] {level_letter}:{depth_marks} {msg} {hfill} {func}\n" #else #define CLUTCHLOG_DEFAULT_FORMAT "{level_letter} {msg}\t\t\t\t\t{func}\n" #endif