kasjer opened a new pull request, #551:
URL: https://github.com/apache/mynewt-newt/pull/551

   This adds "name:" to syscfg.logs nodes.
   This is optional log name.
   
   With this change newt tool also generates file:
   _\<bsp\>_**-logcfg.h** that contains function:
   `const char *logcfg_log_module_name(uint8_t id)`
   
   that can be used to get module name for generated mod logs.
   
   If name is not present like in this example:
   ```
   syscfg.logs:
       BMA400_LOG:
           module: MYNEWT_VAL(BMA400_LOG_MODULE)
           level: MYNEWT_VAL(BMA400_LOG_LVL)
   ```
   
   module name will be taken from **BMA400_LOG** by cutting off trailing _LOG 
to make it **BMA400**


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to