Skip to content

Commit d6eee1a

Browse files
committed
log debug message when reusing wraprec in nr_php_user_instrument_wraprec_hashmap_add
1 parent b457827 commit d6eee1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

agent/php_user_instrument_wraprec_hashmap.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,8 @@ nruserfn_t* nr_php_user_instrument_wraprec_hashmap_add(const char* namestr, size
446446

447447
wraprec->supportability_metric = nr_txn_create_fn_supportability_metric(
448448
wraprec->funcname, wraprec->classname);
449+
} else {
450+
nrl_verbosedebug(NRL_INSTRUMENT, "reusing custom wrapper for '%s'", namestr);
449451
}
450452

451453
return wraprec;

0 commit comments

Comments
 (0)