Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just an idea, instead of printing:

  [src/main.rs:4] x == 1 = false
  [src/main.rs:9]
print this:

  [src/main.rs:4] dbg!( x == 1 ) = false
  [src/main.rs:9] dbg!
Easier to filter just your debug messages.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: