1 25 26 package org.objectweb.easybeans.log; 27 28 import java.io.Serializable ; 29 30 import org.objectweb.easybeans.i18n.I18n; 31 32 39 40 public interface JLog extends Serializable { 41 42 53 boolean isDebugEnabled(); 54 55 66 boolean isErrorEnabled(); 67 68 79 boolean isFatalEnabled(); 80 81 92 boolean isInfoEnabled(); 93 94 105 boolean isTraceEnabled(); 106 107 118 boolean isWarnEnabled(); 119 120 134 void trace(final Object message, final Object ... args); 135 136 150 void debug(final Object message, final Object ... args); 151 152 166 void info(final Object message, final Object ... args); 167 168 182 void warn(final Object message, final Object ... args); 183 184 198 void error(final Object message, final Object ... args); 199 200 214 void fatal(final Object message, final Object ... args); 215 216 217 221 I18n getI18n(); 222 223 } 224 | Popular Tags |