Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

include module path info in the output #43

Closed
japaric opened this issue Aug 31, 2020 · 1 comment
Closed

include module path info in the output #43

japaric opened this issue Aug 31, 2020 · 1 comment
Labels
type: enhancement Enhancement or feature request

Comments

@japaric
Copy link
Member

japaric commented Aug 31, 2020

depends on knurling-rs/defmt#151
Example input:

// src/bin/hello.rs
fn main() -> ! {
    defmt::info!("program start");
    // ..
}
// src/hal.rs
fn init() {
    defmt::debug!("initializing the HAL");
    // ..
}

Example output:

0.000000 INFO  [my_app::hello::main] program start
└─ src/bin/hello.rs:8
0.000001 DEBUG [my_app::hal::init] initializing the HAL
└─ src/hal.rs:8
@japaric japaric added the type: enhancement Enhancement or feature request label Aug 31, 2020
@japaric
Copy link
Member Author

japaric commented Sep 8, 2020

done in #57

@japaric japaric closed this as completed Sep 8, 2020
@Urhengulas Urhengulas added this to Incoming in Issue Triage via automation May 12, 2021
@Urhengulas Urhengulas moved this from Incoming to Closed in Issue Triage May 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Enhancement or feature request
Projects
No open projects
Development

No branches or pull requests

1 participant