enable abort on critical error for non-release builds

this should help with debugging
This commit is contained in:
Mike Blumenkrantz 2017-02-24 14:15:42 -05:00
parent 9934ccfbf0
commit 5d875e6a3d
1 changed files with 3 additions and 0 deletions

View File

@ -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;
} }