mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
add logging to attributes
This commit is contained in:
1 parent
43599c2a02
commit
6c66da2964
1 file changed
+1
@@ -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