Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mbed_trace_print_function_set accepts variable length arguments #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n4ka9avva
Copy link

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