mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
log: Add log_callstack_to_file()
This makes it trivial to log the callstack to, e.g., stderr, which can simplify debug cycles.
This commit is contained in:
@@ -63,6 +63,7 @@
|
||||
|
||||
#ifdef HAVE_EXECINFO_BACKTRACE
|
||||
# define LOG_CALLSTACK() log_callstack(__func__, __LINE__)
|
||||
# define LOG_CALLSTACK_TO_FILE(fp) log_callstack_to_file(fp, __func__, __LINE__)
|
||||
#endif
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
|
Reference in New Issue
Block a user