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:
parent
9fa27dae3c
commit
1fa5ceee8c
2 changed files with 12 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue