public static void dumpWhenSysOutContains(String trigger){
  System.setOut(wrapAndDumpWhenContains(System.out,trigger));
}

public static void dumpWhenSysOutContains ( String trigger ) { System . setOut ( wrapAndDumpWhenContains ( System . out , trigger ) ) ; }
dumps a stack trace anytime the trigger string is printed to system . out .
