You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/05/24 22:47:43 UTC

[GitHub] [mynewt-nimble] ccollins476ad opened a new pull request #447: Mynewt: Use logcfg for host logging

ccollins476ad opened a new pull request #447: Mynewt: Use logcfg for host logging
URL: https://github.com/apache/mynewt-nimble/pull/447
 
 
   ### Background
   
   A Mynewt package can define logs in its `syscfg.yml` file.  When the newt tool encounters a log definition, it generates macros for writing to the log.  The macros corresponding to log levels below the log's configured level are no-ops.  This allows log level to be configured per module, with sub-level log write getting compiled out.
   
   ### This PR
   
   Use newt's auto-generated log macros.  For non-Mynewt builds, manually define these macros to use the modlog port.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services