forked from enlightenment/efl
eina log - explain how to humanify the output for bts when printed
This commit is contained in:
parent
56fd30f6f3
commit
6a3a4a4124
|
@ -1365,7 +1365,11 @@ eina_log_domain_unregister_unlocked(int domain)
|
|||
#ifdef EINA_LOG_BACKTRACE
|
||||
# define DISPLAY_BACKTRACE(File, Level) \
|
||||
if (EINA_UNLIKELY(Level <= _backtrace_level)) { \
|
||||
fprintf(File, "*** Backtrace ***\n"); \
|
||||
fprintf(File, \
|
||||
"## Backtrace --- Run eina_btlog then paste this, then hit CTRL+D\n" \
|
||||
"## Use eina_btlog -n to remove color. Btlog makes it human-readable.\n" \
|
||||
"## Please provide the human readable log along with any bug reports.\n" \
|
||||
); \
|
||||
EINA_BT(File); \
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue