You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Kotlin-Coroutines-Suspends/src/main/java/com/newrelic/instrumentation/kotlin/coroutines/SuspendIgnores.java
NewRelic.getAgent().getLogger().log(Level.FINE, "Matched classname or objString");
63
+
if(objStringMatch || classNameMatch) {
53
64
returntrue;
54
65
}
55
66
56
67
for(Strings : ignoredSuspends) {
57
-
NewRelic.getAgent().getLogger().log(Level.FINE, "Comparing to regex {0}", s);
58
68
Patternpattern = Pattern.compile(s);
59
69
Matchermatcher1 = pattern.matcher(objString);
60
70
Matchermatcher2 = pattern.matcher(className);
61
-
NewRelic.getAgent().getLogger().log(Level.FINE, matcher1.matches() ? "Matched objString" : matcher2.matches() ? "Matched Classname" : "not a match for object string or classname");
0 commit comments