Add println function to display non-log frames
* refactor `print_location` to take separate arguments instead of a log
record
@@ -81,8 +81,6 @@ fn main() -> anyhow::Result<()> {
mod_path = Some(loc.module.clone());
}
- println!("OMG::: FRAME {:?}", frame);
- if frame.level().is_some() {
// Forward the defmt frame to our logger.
defmt_decoder::log::log_defmt(
&frame,
@@ -90,9 +88,6 @@ fn main() -> anyhow::Result<()> {
line,
mod_path.as_deref(),
);
- } else {
- println!("!!! defmt-print - FRAME: {:?}", frame);
- }
let num_frames = frames.len();
frames.rotate_left(consumed);
