Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * 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);
 }
Exemplo n.º 3
0
 /**
  * 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);
 }
Exemplo n.º 4
0
 /**
  * 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);
 }
Exemplo n.º 5
0
 /**
  * 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);
 }
Exemplo n.º 6
0
 /**
  * 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);
 }