Skip to content

Commit

Permalink
chore: cleanup trace level span
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Aug 13, 2024
1 parent 0d71168 commit 7b641ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/rust/driver/src/catalogue_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use maplit::hashset;
use pact_models::content_types::ContentType;
use regex::Regex;
use serde::{Deserialize, Serialize};
use tracing::{debug, error, trace};
use tracing::{debug, error, instrument, trace};

use crate::content::{ContentGenerator, ContentMatcher};
use crate::plugin_models::PactPluginManifest;
Expand Down Expand Up @@ -195,6 +195,7 @@ pub fn remove_plugin_entries(name: &str) {
}

/// Find a content matcher in the global catalogue for the provided content type
#[instrument(level = "trace", skip(content_type))]
pub fn find_content_matcher<CT: Into<String>>(content_type: CT) -> Option<ContentMatcher> {
let content_type_str = content_type.into();
debug!("Looking for a content matcher for {}", content_type_str);
Expand Down

0 comments on commit 7b641ae

Please sign in to comment.