mirror of https://github.com/YosysHQ/yosys.git
Add one more compatibility logger used in patches for some time
This commit is contained in:
parent
8eb3133076
commit
ec6266a328
|
|
@ -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…
Reference in New Issue