enable abort on critical error for non-release builds
this should help with debugging
This commit is contained in:
parent
9934ccfbf0
commit
5d875e6a3d
|
@ -39,6 +39,9 @@ e_log_init(void)
|
||||||
if (level < 1)
|
if (level < 1)
|
||||||
eina_log_print_cb_set(_e_log_cb, NULL);
|
eina_log_print_cb_set(_e_log_cb, NULL);
|
||||||
}
|
}
|
||||||
|
#ifndef #E_RELEASE_BUILD
|
||||||
|
eina_log_abort_on_critical_set(1);
|
||||||
|
#endif
|
||||||
return e_log_dom != -1;
|
return e_log_dom != -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue