From 8be1bf32a800b7fbebc95be3afec5cb5721eed84 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Wed, 7 Feb 2024 15:37:20 +1100 Subject: [PATCH] chore: clean up trace level instrumentation on matcher_is_defined function --- rust/pact_matching/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/pact_matching/src/lib.rs b/rust/pact_matching/src/lib.rs index 96338c2af..61032d524 100644 --- a/rust/pact_matching/src/lib.rs +++ b/rust/pact_matching/src/lib.rs @@ -526,7 +526,7 @@ impl Default for CoreMatchingContext { } impl MatchingContext for CoreMatchingContext { - #[instrument(level = "trace")] + #[instrument(level = "trace", ret, skip_all, fields(path, matchers = ?self.matchers))] fn matcher_is_defined(&self, path: &DocPath) -> bool { let path = path.to_vec(); let path_slice = path.iter().map(|p| p.as_str()).collect_vec();