Esempio n. 1
0
 @Override
 public void config(String message) {
   LogWriter logger = getLogWriter();
   if (logger == null) {
     printMessage("config", getLogMessage(message));
   } else {
     logger.config(getLogMessage(message));
   }
 }
Esempio 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);
   }
 }