mirror of
https://github.com/storytold/voder-proxy.git
synced 2026-10-19 07:43:12 +00:00
add logging to attributes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user