/** * Logs 'msg' from a given calling method followed by the 'throwable' stack trace dump. * * @param level level to log at [the method does nothing if this is less than the set level]. * @param method calling method name [ignored if null] * @param msg log message [ignored if null] * @param throwable to dump after message [ignored if null] */ public final void log( final int level, final String method, final String msg, final Throwable throwable) { _log(level, method, msg, throwable); }
/** * Logs 'msg' from a given calling method. * * @param level level to log at [the method does nothing if this is less than the set level]. * @param method calling method name [ignored if null] * @param msg log message [ignored if null] */ public final void log( final int level, final String method, final String msg, final boolean logCaller) { _log(level, method, msg, logCaller); }
/** * A convenience method equivalent to log(TRACE3, method, msg). * * @param method calling method name [ignored if null] * @param msg log message [ignored if null] */ public final void trace3(final String method, final String msg) { _log(TRACE3, method, msg, true); }
/** * A convenience method to log 'msg' from an anonymous calling method at VERBOSE level. * * @param msg log message [ignored if null] */ public final void verbose(final String msg) { _log(VERBOSE, null, msg, false); }
/** * A convenience method to log 'msg' from an anonymous calling method at INFO level. * * @param msg log message [ignored if null] */ public final void info(final String msg) { _log(INFO, null, msg, false); }
/** * A convenience method to log 'msg' from an anonymous calling method at WARNING level. * * @param msg log message [ignored if null] */ public final void warning(final String msg) { _log(WARNING, null, msg, false); }