3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-08-14 09:55:37 +00:00

log: removed check from log since it is already in log_formatted_string

This commit is contained in:
Miodrag Milanovic 2026-08-07 16:55:47 +02:00
parent 480949c69a
commit bf60ba30cd

View file

@ -131,8 +131,6 @@ void log_formatted_string(std::string_view format, std::string str, LogSeverity
template <typename... Args>
inline void log(FmtString<TypeIdentity<Args>...> fmt, const Args &... args)
{
if (log_make_debug && !ys_debug(1))
return;
log_formatted_string(fmt.format_string(), fmt.format(args...));
}