<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf_log max number of arguments</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45825/nrf_log-max-number-of-arguments</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Apr 2019 10:07:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45825/nrf_log-max-number-of-arguments" /><item><title>RE: nrf_log max number of arguments</title><link>https://devzone.nordicsemi.com/thread/181524?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 10:07:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7782683-0df7-424d-9313-f373a9df6ad7</guid><dc:creator>Krzysztof Chruscinski</dc:creator><description>&lt;p&gt;It was motivated by efficiency. If we would use variable length arguments then it would take almost twice more cycles to log a message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_log max number of arguments</title><link>https://devzone.nordicsemi.com/thread/180528?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 14:12:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddc94669-e75f-4831-acbb-a795ca85579f</guid><dc:creator>d0d0</dc:creator><description>&lt;p&gt;I was more interested in why it is implemented that way, but thank you anyway!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf_log max number of arguments</title><link>https://devzone.nordicsemi.com/thread/180517?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 13:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff903364-7901-4501-b317-9cad376a208f</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;You can extend that by yourself. I changed it to support up to 10 arguments I think and it works ok. It&amp;#39;s quite tedious to do it though.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t say anything about why it is implemented the way it is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>