Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix log levels #416

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Fix log levels #416

merged 1 commit into from
Nov 16, 2023

Conversation

philips77
Copy link
Member

nRF Logger app is using it's own log levels. The DFU library is using the same levels, which are not compatible with android.util.Log priorities.
The generic BleLogger class in :logger common module is expecting priorities, not levels, so those have to be translated. Later, when the BleLogger is logging to nRF Logger, it's converting priorities to levels again.

What does this PR fix? Logs are printed with their correct level/priority both on LogCat and nRF Logger app.

@philips77 philips77 merged commit 48a4bd1 into main Nov 16, 2023
@philips77 philips77 deleted the bugfix/log-level branch November 16, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant