inspect::inspect!
[−]
[src]
macro_rules! inspect { ($($a:expr),*) => { ... }; }
Logs the file, line number, and expressions along with their Show
value.
Examples
#![feature(phase)] #[phase(plugin, link)] extern crate inspect; fn main() { let a = 7u; inspect!(a, a + 4); //=> file.rs - 8: a = 7, a + 4 = 11 }