1 16 package org.mortbay.util; 17 18 import org.apache.commons.logging.Log; 19 20 21 23 public class LogSupport 24 { 25 public final static String IGNORED= "IGNORED "; 26 public final static String EXCEPTION= "EXCEPTION "; 27 public final static String NOT_IMPLEMENTED= "NOT IMPLEMENTED "; 28 29 30 34 public static void ignore(Log log,Throwable th) 35 { 36 if (log.isTraceEnabled()) log.trace(IGNORED,th); 37 } 38 39 40 } 41 42 | Popular Tags |