I'm using nrf-softdevice with defmt logger, and I found the traces printed by nrf-softdevice are all from nrf-softdevice/src/fmt.rs, which misses file info and makes debugging harder.
fmt.rs is required to allow the crate to be agnostic between the log and defmt logging options. Unfortunately there's no way to make the file and line numbers come from the caller instead.
I'm using
nrf-softdevice
withdefmt
logger, and I found the traces printed bynrf-softdevice
are all fromnrf-softdevice/src/fmt.rs
, which misses file info and makes debugging harder.Maybe it can be improved somehow? by logging the real file and line numbers.