add logging to attributes

This commit is contained in:
Brandon Thomas
2020-08-05 01:10:08 -04:00
parent 43599c2a02
commit 6c66da2964
+1
View File
@@ -49,6 +49,7 @@ impl MaybeNewRelicTransaction {
pub fn add_attribute(&self, name: &str, value: &str) {
if let Some(ref transaction) = self.transaction {
info!("Logging attribute to NewRelic");
let _result = transaction.add_attribute(name, value);
}
}