e - allow env var to turn off aborting at any CRI issue

some of these CRI logs are not wirth an abort... but mike seems to
think so... so i'm going to turn it off for me...
This commit is contained in:
Carsten Haitzler 2017-06-22 10:34:16 +09:00
parent 3e3b48478b
commit 62feb358e6
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ e_log_init(void)
eina_log_print_cb_set(_e_log_cb, NULL); eina_log_print_cb_set(_e_log_cb, NULL);
} }
#ifndef E_RELEASE_BUILD #ifndef E_RELEASE_BUILD
eina_log_abort_on_critical_set(1); if (!getenv("E_DONT_ABORT"))
eina_log_abort_on_critical_set(1);
#endif #endif
return e_log_dom != -1; return e_log_dom != -1;
} }