From 84106159883b74e8bcc281ab01786e153ff4dc33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 7 Aug 2026 17:20:25 +0200 Subject: [PATCH] log: cleanup --- kernel/log.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/log.h b/kernel/log.h index f1bea8883..adb3ae0e3 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -127,11 +127,11 @@ static inline bool ys_debug(int n = 0) { if (log_force_debug) return true; log_d static inline bool ys_debug(int = 0) { return false; } #endif -void log_formatted_string(std::string_view format, std::string str, LogSeverity severity = LogSeverity::LOG_INFO); +void log_formatted_string(std::string_view format, std::string str, LogSeverity severity); template inline void log(FmtString...> fmt, const Args &... args) { - log_formatted_string(fmt.format_string(), fmt.format(args...)); + log_formatted_string(fmt.format_string(), fmt.format(args...), LogSeverity::LOG_INFO); } template