blob: 614a0bb62dbb4e922e078713c42caff0a8e746c0 [file] [log] [blame]
use gix_features::trace::{coarse, detail, span};
#[test]
fn span() {
let _x = span!(gix_features::trace::Level::Coarse, "hello");
span!(gix_features::trace::Level::Coarse, "hello", x = "value", y = 42);
span!(target: "other", gix_features::trace::Level::Coarse, "hello", x = "value", y = 42);
let _x = coarse!("hello");
coarse!("hello", x = "value", y = 42);
coarse!(target: "other", "hello", x = "value", y = 42);
let _y = detail!("hello");
detail!("hello", x = "value", y = 42);
detail!(target: "other", "hello", x = "value", y = 42);
}