public void include(SpyMatcher... matchers) { for (SpyMatcher matcher : matchers) { log.info(ZorkaLogger.ZAG_CONFIG, "Tracer include: " + matcher); tracer.include(matcher); } }
/** * Adds matching method to tracer. * * @param matchers spy matcher objects (created using spy.byXxxx() functions) */ public void include(String... matchers) { for (String matcher : matchers) { log.info(ZorkaLogger.ZAG_CONFIG, "Tracer include: " + matcher); tracer.include(SpyMatcher.fromString(matcher.toString())); } }