Skip to content

Commit

Permalink
Revert "Add TODO to remove println timestamp" (google#504)
Browse files Browse the repository at this point in the history
Reverts google#502

The conclusion from
knurling-rs/defmt#844 (comment)
is that `println` should just print its input (no timestamp, no
location).
  • Loading branch information
ia0 authored Jun 1, 2024
1 parent eeeda7f commit 6f01cbd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion crates/board/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,4 @@

## 0.1.0

<!-- Increment to skip CHANGELOG.md test: 22 -->
<!-- Increment to skip CHANGELOG.md test: 21 -->
1 change: 0 additions & 1 deletion crates/board/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ pub trait Api: Send {

/// Prints a line with timestamp.
fn println(line: &str) {
// TODO(probe-rs-tools > 0.24.0): Call println! without timestamp.
let time = Self::time();
log::println!("{}.{:06}: {}", time / 1000000, time % 1000000, line);
}
Expand Down

0 comments on commit 6f01cbd

Please sign in to comment.