mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-17 06:16:22 +00:00
Add one more compatibility logger used in patches for some time
This commit is contained in:
parent
8eb3133076
commit
ec6266a328
1 changed files with 9 additions and 0 deletions
|
|
@ -83,4 +83,13 @@ void log(const char *format, ...)
|
|||
log_formatted(formatted);
|
||||
}
|
||||
|
||||
void log_compat(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
std::string formatted = vstringf(format, ap);
|
||||
va_end(ap);
|
||||
log_formatted(formatted);
|
||||
}
|
||||
|
||||
YOSYS_NAMESPACE_END
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue