Ejemplo n.º 1
0
 @Override
 public void config(String message) {
   LogWriter logger = getLogWriter();
   if (logger == null) {
     printMessage("config", getLogMessage(message));
   } else {
     logger.config(getLogMessage(message));
   }
 }
Ejemplo n.º 2
0
 @Override
 public void config(Throwable th) {
   LogWriter logger = getLogWriter();
   if (logger == null) {
     printMessage("config", getLogMessage());
     th.printStackTrace(System.out);
   } else {
     logger.config(getLogMessage(), th);
   }
 }