diff --git a/kernel/log.h b/kernel/log.h index 4b97fbede..f1bea8883 100644 --- a/kernel/log.h +++ b/kernel/log.h @@ -131,8 +131,6 @@ void log_formatted_string(std::string_view format, std::string str, LogSeverity template inline void log(FmtString...> fmt, const Args &... args) { - if (log_make_debug && !ys_debug(1)) - return; log_formatted_string(fmt.format_string(), fmt.format(args...)); }