1 16 package org.apache.commons.logging.tccl.custom; 17 18 import org.apache.commons.logging.Log; 19 20 public class MyLog implements Log { 21 22 public MyLog(String category) {} 23 24 public boolean isDebugEnabled() { return false; } 25 public boolean isErrorEnabled() { return false; } 26 public boolean isFatalEnabled() { return false; } 27 public boolean isInfoEnabled() { return false; } 28 public boolean isTraceEnabled() { return false; } 29 public boolean isWarnEnabled() { return false; } 30 31 public void trace(Object message) {} 32 public void trace(Object message, Throwable t) {} 33 public void debug(Object message) {} 34 public void debug(Object message, Throwable t) {} 35 public void info(Object message) {} 36 public void info(Object message, Throwable t) {} 37 public void warn(Object message) {} 38 public void warn(Object message, Throwable t) {} 39 public void error(Object message) {} 40 public void error(Object message, Throwable t) {} 41 public void fatal(Object message) {} 42 public void fatal(Object message, Throwable t) {} 43 } 44 | Popular Tags |