1 22 23 package org.continuent.sequoia.common.log; 24 25 import org.apache.log4j.Logger; 26 27 34 public class StaticDisabledLogger extends Trace 35 { 36 37 43 public StaticDisabledLogger(Logger log4jLogger) 44 { 45 super(log4jLogger); 46 } 47 48 53 public void debug(Object message, Throwable t) 54 { 55 } 56 57 62 public void debug(Object message) 63 { 64 } 65 66 71 public void error(Object message, Throwable t) 72 { 73 } 74 75 80 public void error(Object message) 81 { 82 } 83 84 89 public void fatal(Object message, Throwable t) 90 { 91 } 92 93 98 public void fatal(Object message) 99 { 100 } 101 102 107 public void info(Object message, Throwable t) 108 { 109 } 110 111 116 public void info(Object message) 117 { 118 } 119 120 125 public void warn(Object message, Throwable t) 126 { 127 } 128 129 134 public void warn(Object message) 135 { 136 } 137 138 142 public boolean isDebugEnabled() 143 { 144 return false; 145 } 146 147 151 public boolean isErrorEnabled() 152 { 153 return false; 154 } 155 156 160 public boolean isFatalEnabled() 161 { 162 return false; 163 } 164 165 169 public boolean isInfoEnabled() 170 { 171 return false; 172 } 173 174 178 public boolean isWarnEnabled() 179 { 180 return false; 181 } 182 } 183 | Popular Tags |