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