1 23 24 package com.sun.enterprise.tools.common.util.diagnostics; 25 26 import java.io.*; 27 28 36 37 class foo 38 { 39 public String toString() { return "Hi There!!"; }} 41 42 public class ReporterTester 43 { 44 45 47 public static void main(String [] args) 48 { 49 ReporterTester rt = new ReporterTester(); 50 78 CallerInfo.addToGlobalIgnore(rt); 79 Goo goo = new Goo(); 80 81 82 } 83 private int junk = 5; protected String sss = "Foo";} 86 87 class Goo 88 { 89 Goo() 90 { 91 97 for(int i = 0; i < 25; i++) 98 Reporter.crit("Reporter CRITICAL Message #" + i); for(int i = 0; i < 25; i++) 100 Reporter.verbose("Reporter VERBOSE Message #" + i); } 103 } 104 105 | Popular Tags |