7374757677787980818283
cat.warn ("Message " + ++i); root.warn("Message " + i); cat.error("Message " + ++i); root.error("Message " + i); cat.log(Priority.FATAL, "Message " + ++i); root.log(Priority.FATAL, "Message " + i); Exception e = new Exception("Just testing");
8384858687888990
Exception e = new Exception("Just testing"); cat.debug("Message " + ++i, e); root.debug("Message " + i, e); cat.error("Message " + ++i, e); root.error("Message " + i, e); } }
6061626364656667686970
7677787980818283848586
cat.warn("Message " + ++i , e); root.warn("Message " + i , e); cat.error("Message " + ++i, e); root.error("Message " + i, e); cat.log(Priority.FATAL, "Message " + ++i, e); root.log(Priority.FATAL, "Message " + i, e);
5051525354555657585960
CAT.warn ("Message " + ++i); root.warn("Message " + i); CAT.error("Message " + ++i); root.error("Message " + i); CAT.log(Priority.FATAL, "Message " + ++i); root.log(Priority.FATAL, "Message " + i); Exception e = new Exception("Just testing");
6667686970717273747576
CAT.warn("Message " + ++i , e); root.warn("Message " + i , e); CAT.error("Message " + ++i, e); root.error("Message " + i, e); CAT.log(Priority.FATAL, "Message " + ++i, e); root.log(Priority.FATAL, "Message " + i, e); } }
126127128129130131132133134135136
DEB.debug( "Message " + i); i++; // defaultPriority=DEBUG UNDEF.log(Priority.FATAL, "Message " + i); i++; // 19 UNDEF.error("Message " + i); i++; UNDEF.warn ("Message " + i); i++; UNDEF.info ("Message " + i); i++; UNDEF.debug("Message " + i, new Exception("Just testing.")); i++; // -------------------------------------------------
83848586878889909192
Exception e = new Exception("Just testing"); cat.debug("Message " + ++i, e); root.debug("Message " + i, e); cat.error("Message " + ++i, e); root.error("Message " + i, e); Category.shutdown(); } }
6162636465666768697071
cat.warn("Message " + ++i); cat.lethal("Message " + ++i); //5 Exception e = new Exception("Just testing"); cat.debug("Message " + ++i, e); root.error("Message " + ++i, e); Category.shutdown(); }