/** * A convenience method for logging an 'error' message. * * @param message the message. * @param e the exception. */ public static void error(final Object message, final Exception e) { log(LogTarget.ERROR, message, e); }
/** * A convenience method for logging a 'warning' message. * * @param message the message. * @param e the exception. */ public static void warn(final Object message, final Exception e) { log(LogTarget.WARN, message, e); }
/** * A convenience method for logging an 'error' message. * * @param message the message. */ public static void error(final Object message) { log(LogTarget.ERROR, message); }
/** * A convenience method for logging a 'warning' message. * * @param message the message. */ public static void warn(final Object message) { log(LogTarget.WARN, message); }
/** * A convenience method for logging an 'info' message. * * @param message the message. * @param e the exception. */ public static void info(final Object message, final Exception e) { log(LogTarget.INFO, message, e); }
/** * A convenience method for logging an 'info' message. * * @param message the message. */ public static void info(final Object message) { log(LogTarget.INFO, message); }
/** * A convenience method for logging a 'debug' message. * * @param message the message. * @param e the exception. */ public static void debug(final Object message, final Exception e) { log(LogTarget.DEBUG, message, e); }
/** * A convenience method for logging a 'debug' message. * * @param message the message. */ public static void debug(final Object message) { log(LogTarget.DEBUG, message); }