Move debug_ functions to their own module
The name of those functions is not very Rusty:
- debug_add_log_function
- debug_add_ring_buffer_logger
- debug_bin_to_dot_data
- debug_bin_to_dot_file
- debug_bin_to_dot_file_with_ts
- debug_get_default_threshold
- debug_get_stack_trace
- debug_is_active
- debug_is_colored
- debug_print_stack_trace
- debug_remove_default_log_function
- debug_remove_log_function
- debug_remove_ring_buffer_logger
- debug_ring_buffer_logger_get_logs
- debug_set_active
- debug_set_colored
- debug_set_default_threshold
- debug_set_threshold_for_name
- debug_set_threshold_from_string
- debug_unset_threshold_for_name
They could be moved to a debug
module without the debug_
prefix.