Skip to content

Conversation

@Olivier-ProGlove
Copy link
Contributor

Migrate from SYS_LOG to LOG logging mechanism.

Signed-off-by: Olivier Martin [email protected]

@codecov-io
Copy link

codecov-io commented Aug 14, 2018

Codecov Report

Merging #9430 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #9430   +/-   ##
=======================================
  Coverage   52.19%   52.19%           
=======================================
  Files         215      215           
  Lines       26010    26010           
  Branches     5594     5594           
=======================================
  Hits        13576    13576           
  Misses      10175    10175           
  Partials     2259     2259

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5f7e33...e9642e9. Read the comment docs.

Migrate from `SYS_LOG` to `LOG` logging mechanism.

Signed-off-by: Olivier Martin <[email protected]>
@Olivier-ProGlove
Copy link
Contributor Author

I have rebased the pull-request to fix the conflict after this pull-request has been merged 8cf8db3

Copy link
Contributor

@nordic-krch nordic-krch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am missing registration of log module (LOG_MODULE_REGISTER)

int ret;

#if (CONFIG_SYS_LOG_GPIO_PCAL9535A_LEVEL >= SYS_LOG_LEVEL_DEBUG)
#if (CONFIG_LOG_GPIO_LEVEL >= LOG_LEVEL_DEBUG)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should be able to remove this #ifdef, compiler will cut it if logs are gone.

@nashif
Copy link
Member

nashif commented Oct 8, 2018

addressed in #10029

@nashif nashif closed this Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants