Re: RFC Common System logging API Rev. 2


Saucedo Tejada, Genaro <genaro.saucedo.tejada@...>
 

On Fri, 2016-03-11 at 11:49 +0100, Tomasz Bursztyka wrote:
Hi Genaro,

Could you give the gerrit links?

The following switches control some optional formatting:

CONFIG_SYS_LOG_ENABLE_PRINTF: specifies printf as backend.
CONFIG_SYS_LOG_ENABLE_PRINTK: specifies printk as backend.
Aren't these 2 being mitigated by CONFIG_STDOUT_CONSOLE ?
If this option is set: printf will be used, printk otherwise.

Tomasz
Yes, I got a similar comment on gerrit, this has been done in such way
because in the future more "back ends" are expected, i.e., other
functions could be called hence a "back end" menu choice. But for
following patch I'm likely removing that.

Somehow outdated patches are available at gerrit:
https://gerrit.zephyrproject.org/r/691
https://gerrit.zephyrproject.org/r/722

Join devel@lists.zephyrproject.org to automatically receive all group messages.