3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-30 05:09:04 +00:00

pyosys: restore remaining log functions

Co-authored-by: George Rennie <19538554+georgerennie@users.noreply.github.com>
This commit is contained in:
Mohamed Gaber 2025-09-15 17:02:11 +03:00 committed by Lofty
parent 9fa27dae3c
commit 1fa5ceee8c
2 changed files with 12 additions and 2 deletions

View file

@ -153,6 +153,11 @@ inline void log_warning(FmtString<TypeIdentity<Args>...> fmt, const Args &... ar
{
log_formatted_warning("Warning: ", fmt.format(args...));
}
inline void log_formatted_warning_noprefix(std::string str)
{
log_formatted_warning("", str);
}
template <typename... Args>
inline void log_warning_noprefix(FmtString<TypeIdentity<Args>...> fmt, const Args &... args)
{