Example #1
0
 @Override
 public void info(Object message, Throwable t) {
   if (isDirtySilence()) {
     return;
   }
   logger.l3(String.valueOf(message), t);
 }
Example #2
0
 @Override
 public boolean isErrorEnabled() {
   if (isDirtySilence()) {
     return false;
   }
   return logger.isNeedLog2();
 }
Example #3
0
 @Override
 public void error(Object message) {
   if (isDirtySilence()) {
     return;
   }
   logger.l2(String.valueOf(message));
 }
Example #4
0
 @Override
 public void fatal(Object message, Throwable t) {
   logger.l1(String.valueOf(message), t);
 }
Example #5
0
 @Override
 public void fatal(Object message) {
   logger.l1(String.valueOf(message));
 }
Example #6
0
 public LogWrapper(String logname) {
   dirtySilence = logname != null && logname.contains("ormlite");
   logger = Logger.getLogger(logname);
 }
Example #7
0
 @Override
 public boolean isFatalEnabled() {
   return logger.isNeedLog1();
 }