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.
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 genericBleLogger
class in:logger
common module is expecting priorities, not levels, so those have to be translated. Later, when theBleLogger
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.