Skip to content

mbed_trace_print_function_set accepts variable length arguments#113

Open
n4ka9avva wants to merge 1 commit into
PelionIoT:masterfrom
n4ka9avva:feature-print_function_set
Open

mbed_trace_print_function_set accepts variable length arguments#113
n4ka9avva wants to merge 1 commit into
PelionIoT:masterfrom
n4ka9avva:feature-print_function_set

Conversation

@n4ka9avva

Copy link
Copy Markdown

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.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant