1 16 17 18 package org.apache.commons.logging.impl; 19 20 21 import java.io.Serializable ; 22 import org.apache.commons.logging.Log; 23 24 25 33 public class NoOpLog implements Log, Serializable { 34 35 36 public NoOpLog() { } 37 38 public NoOpLog(String name) { } 39 40 public void trace(Object message) { } 41 42 public void trace(Object message, Throwable t) { } 43 44 public void debug(Object message) { } 45 46 public void debug(Object message, Throwable t) { } 47 48 public void info(Object message) { } 49 50 public void info(Object message, Throwable t) { } 51 52 public void warn(Object message) { } 53 54 public void warn(Object message, Throwable t) { } 55 56 public void error(Object message) { } 57 58 public void error(Object message, Throwable t) { } 59 60 public void fatal(Object message) { } 61 62 public void fatal(Object message, Throwable t) { } 63 64 69 public final boolean isDebugEnabled() { return false; } 70 71 76 public final boolean isErrorEnabled() { return false; } 77 78 83 public final boolean isFatalEnabled() { return false; } 84 85 90 public final boolean isInfoEnabled() { return false; } 91 92 97 public final boolean isTraceEnabled() { return false; } 98 99 104 public final boolean isWarnEnabled() { return false; } 105 106 } 107 | Popular Tags |