set_show_backtrace_fn()
#
Sets the function pointer for handling backtrace display. The provided function will be used to print backtrace information when logging errors or critical messages.
Prototype
void set_show_backtrace_fn(
show_backtrace_fn_t show_backtrace_
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Function pointer to the backtrace display handler. |
Return Value
This function does not return a value.
Notes
If show_backtrace_
is set to NULL
, backtrace logging will be disabled.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples