3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Add ability for user plugin to add new verific log callback

This commit is contained in:
Miodrag Milanovic 2023-06-12 10:01:01 +02:00
parent 236e15f3b0
commit 75cf79588e
3 changed files with 20 additions and 5 deletions

View file

@ -59,6 +59,7 @@ bool log_quiet_warnings = false;
int log_verbose_level;
string log_last_error;
void (*log_error_atexit)() = NULL;
void (*log_verific_callback)(int msg_type, const char *message_id, const char* file_path, unsigned int line_no, const char *msg) = NULL;
int log_make_debug = 0;
int log_force_debug = 0;