Hello team,
I'm begineer in embed systems and study Mbed OS recently.
I'd like to redirect mbed-trace output to a file and came up with using mbed_trace_print_function_set. My custom print function would wrapped fprintf and receive variable length arguments like printf and fprintf.
However, in my understanding, mbed_trace_print_function_set accepts only one char arugument so that I couldn't pass multiple arguments including format string and values.
I hope mbed_trace_print_function_set will change to accept variable length arguments.
Hello team, I'm begineer in embed systems and study Mbed OS recently.
I'd like to redirect mbed-trace output to a file and came up with using
mbed_trace_print_function_set
. My custom print function would wrappedfprintf
and receive variable length arguments likeprintf
andfprintf
.However, in my understanding,
mbed_trace_print_function_set
accepts only one char arugument so that I couldn't pass multiple arguments including format string and values.I hope
mbed_trace_print_function_set
will change to accept variable length arguments.Best regards