/** * Log an exception (throwable) at the DEBUG level with an accompanying message. If the exception is null, then this method * calls {@link #debug(String, Object...)}. * * @param t the exception (throwable) to log * @param message the message accompanying the exception * @param params the parameter values that are to replace the variables in the format string */ public void debug( Throwable t, String message, Object... params ) { if (!isDebugEnabled()) return; if (t == null) { debug(message, params); return; } if (message == null) { this.delegate.debug(null, t); return; } this.delegate.debug(StringUtil.createString(message, params), t); }
switch (level) { case DEBUG: debug(t, message.text(LOGGING_LOCALE.get(), params)); break; case ERROR:
switch (level) { case DEBUG: debug(message.text(LOGGING_LOCALE.get(), params)); break; case ERROR: