1 16 17 18 package org.apache.commons.logging; 19 20 64 public interface Log { 65 66 67 69 70 77 public boolean isDebugEnabled(); 78 79 80 87 public boolean isErrorEnabled(); 88 89 90 97 public boolean isFatalEnabled(); 98 99 100 107 public boolean isInfoEnabled(); 108 109 110 117 public boolean isTraceEnabled(); 118 119 120 127 public boolean isWarnEnabled(); 128 129 130 132 133 138 public void trace(Object message); 139 140 141 147 public void trace(Object message, Throwable t); 148 149 150 155 public void debug(Object message); 156 157 158 164 public void debug(Object message, Throwable t); 165 166 167 172 public void info(Object message); 173 174 175 181 public void info(Object message, Throwable t); 182 183 184 189 public void warn(Object message); 190 191 192 198 public void warn(Object message, Throwable t); 199 200 201 206 public void error(Object message); 207 208 209 215 public void error(Object message, Throwable t); 216 217 218 223 public void fatal(Object message); 224 225 226 232 public void fatal(Object message, Throwable t); 233 234 235 } 236 | Popular Tags |