@Override public void warning(String message) { LogWriter logger = getLogWriter(); if (logger == null) { printMessage("warning", getLogMessage(message)); } else { logger.warning(getLogMessage(message)); } }
@Override public void warning(Throwable th) { LogWriter logger = getLogWriter(); if (logger == null) { printMessage("warning", getLogMessage()); th.printStackTrace(System.out); } else { logger.warning(getLogMessage(), th); } }