Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf_log max number of arguments

Hi,

We are using a logger module a lot in our projects to diagnose problems, or warn API users of misuse. Sometimes it would be handy to be able to have nrf_log macros take more than 6 arguments. I know how this macro expands, but I was just wondering why did you choose this implementation? Couldn't you pass variable argument list to a function?

Kind regards.

Related