1 package net.javacoding.jspider.core.logging.impl; 2 3 import net.javacoding.jspider.core.logging.Log; 4 5 13 public class DevNullLogImpl implements Log { 14 15 16 public boolean isDebugEnabled() { 17 return false; 18 } 19 20 public boolean isErrorEnabled() { 21 return false; 22 } 23 24 public boolean isFatalEnabled() { 25 return false; 26 } 27 28 public boolean isInfoEnabled() { 29 return false; 30 } 31 32 public boolean isTraceEnabled() { 33 return false; 34 } 35 36 public boolean isWarnEnabled() { 37 return false; 38 } 39 40 public void trace(Object o) { 41 } 42 43 public void trace(Object o, Throwable throwable) { 44 } 45 46 public void debug(Object o) { 47 } 48 49 public void debug(Object o, Throwable throwable) { 50 } 51 52 public void info(Object o) { 53 } 54 55 public void info(Object o, Throwable throwable) { 56 } 57 58 public void warn(Object o) { 59 } 60 61 public void warn(Object o, Throwable throwable) { 62 } 63 64 public void error(Object o) { 65 } 66 67 public void error(Object o, Throwable throwable) { 68 } 69 70 public void fatal(Object o) { 71 } 72 73 public void fatal(Object o, Throwable throwable) { 74 } 75 } 76 | Popular Tags |