919293949596979899100101102103
this.logger = logger; } @Override protected void log(String message) { final RackLogger logger = getLogger(); if (logger != null) { logger.log(RackLogger.INFO, message); } else { super.log(message); } }
102103104105106107108109110111112113114
} } @Override protected void log(String message, Exception e) { final RackLogger logger = getLogger(); if (logger != null) { logger.log(RackLogger.ERROR, message, e); } else { super.log(message, e); } }