Пример #1
0
 public void include(SpyMatcher... matchers) {
   for (SpyMatcher matcher : matchers) {
     log.info(ZorkaLogger.ZAG_CONFIG, "Tracer include: " + matcher);
     tracer.include(matcher);
   }
 }
Пример #2
0
 /**
  * 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()));
   }
 }