Coverage Summary for Class: AbstractLogger (net.sf.persism.logging)

Class Class, % Method, % Line, %
AbstractLogger 100% (1/1) 33.3% (1/3) 60% (3/5)


1 package net.sf.persism.logging; 2  3 public abstract class AbstractLogger { 4  5  protected final LogMode logMode; 6  protected final String logName; 7  8  protected AbstractLogger(LogMode logMode, String logName) { 9  this.logMode = logMode; 10  this.logName = logName; 11  } 12  13  public abstract boolean isDebugEnabled(); 14  15  public abstract void debug(Object message, Object... params); 16  17  public abstract void info(Object message); 18  public abstract void info(Object message, Throwable t); 19  20  public abstract void warn(Object message); 21  22  public abstract void warn(Object message, Throwable t); 23  24  public abstract void error(Object message); 25  26  public abstract void error(Object message, Throwable t); 27  28  public final LogMode getLogMode() { 29  return logMode; 30  } 31  32  public final String getLogName() { 33  return logName; 34  } 35 }