1 24 25 package org.objectweb.cjdbc.common.log; 26 27 import org.apache.log4j.Logger; 28 29 36 public class StaticDisabledLogger extends Trace 37 { 38 39 45 public StaticDisabledLogger(Logger log4jLogger) 46 { 47 super(log4jLogger); 48 } 49 50 55 public void debug(Object message, Throwable t) 56 { 57 } 58 59 64 public void debug(Object message) 65 { 66 } 67 68 73 public void error(Object message, Throwable t) 74 { 75 } 76 77 82 public void error(Object message) 83 { 84 } 85 86 91 public void fatal(Object message, Throwable t) 92 { 93 } 94 95 100 public void fatal(Object message) 101 { 102 } 103 104 109 public void info(Object message, Throwable t) 110 { 111 } 112 113 118 public void info(Object message) 119 { 120 } 121 122 127 public void warn(Object message, Throwable t) 128 { 129 } 130 131 136 public void warn(Object message) 137 { 138 } 139 140 144 public boolean isDebugEnabled() 145 { 146 return false; 147 } 148 149 153 public boolean isErrorEnabled() 154 { 155 return false; 156 } 157 158 162 public boolean isFatalEnabled() 163 { 164 return false; 165 } 166 167 171 public boolean isInfoEnabled() 172 { 173 return false; 174 } 175 176 180 public boolean isWarnEnabled() 181 { 182 return false; 183 } 184 } 185 | Popular Tags |