/** * Function returns the name of the caller method for the method executing this * function. * * @return caller method name from the call stack of the current {@link Thread}. */ private static String getCallerMethodName() { return getStackMethodName(5); }
public void info(final String message) { if (!this.logger.isLoggable(Level.INFO)) { return; } logger.logp(Level.INFO, componentClassName, getCallerMethodName(), message); }
public void info(final String message, Object[] params) { if (!this.logger.isLoggable(Level.INFO)) { return; } logger.logp(Level.INFO, componentClassName, getCallerMethodName(), message, params); }
/** * Function returns the name of the caller method for the method executing this * function. * * @return caller method name from the call stack of the current {@link Thread}. */ private static String getCallerMethodName() { return getStackMethodName(5); }
public void severe(final String message) { if (!this.logger.isLoggable(Level.SEVERE)) { return; } logger.logp(Level.SEVERE, componentClassName, getCallerMethodName(), message); }
/** * Function returns the name of the caller method for the method executing this * function. * * @return caller method name from the call stack of the current {@link Thread}. */ private static String getCallerMethodName() { return getStackMethodName(5); }
public void severe(final String message, Object[] params) { if (!this.logger.isLoggable(Level.SEVERE)) { return; } logger.logp(Level.SEVERE, componentClassName, getCallerMethodName(), message, params); }
public void log(final Level level, final String message) { if (!this.logger.isLoggable(level)) { return; } logger.logp(level, componentClassName, getCallerMethodName(), message); }
public void log(final Level level, final String message, Object param1) { if (!this.logger.isLoggable(level)) { return; } logger.logp(level, componentClassName, getCallerMethodName(), message, param1); }
public void log(final Level level, final String message, Object[] params) { if (!this.logger.isLoggable(level)) { return; } logger.logp(level, componentClassName, getCallerMethodName(), message, params); }
public void finest(final String message, Object[] params) { if (!this.logger.isLoggable(Level.FINEST)) { return; } logger.logp(Level.FINEST, componentClassName, getCallerMethodName(), message, params); }
public void finest(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.FINEST)) { return; } logger.logp(Level.FINEST, componentClassName, getCallerMethodName(), message, thrown); }
public void fine(final String message) { if (!this.logger.isLoggable(Level.FINE)) { return; } logger.logp(Level.FINE, componentClassName, getCallerMethodName(), message); }
public void log(final Level level, final String message, final Throwable thrown) { if (!this.logger.isLoggable(level)) { return; } logger.logp(level, componentClassName, getCallerMethodName(), message, thrown); }
public void finer(final String message, Object[] params) { if (!this.logger.isLoggable(Level.FINER)) { return; } logger.logp(Level.FINER, componentClassName, getCallerMethodName(), message, params); }
public void fine(final String message, final Throwable thrown) { if (!this.logger.isLoggable(Level.FINE)) { return; } logger.logp(Level.FINE, componentClassName, getCallerMethodName(), message, thrown); }
public void config(final String message) { if (!this.logger.isLoggable(Level.CONFIG)) { return; } logger.logp(Level.CONFIG, componentClassName, getCallerMethodName(), message); }
public void warning(final String message) { if (!this.logger.isLoggable(Level.WARNING)) { return; } logger.logp(Level.WARNING, componentClassName, getCallerMethodName(), message); }
public void exiting(final Object result) { if (!this.logger.isLoggable(METHOD_CALL_LEVEL_VALUE)) { return; } logger.exiting(componentClassName, getCallerMethodName(), result); }
public void entering(final Object... parameters) { if (!this.logger.isLoggable(METHOD_CALL_LEVEL_VALUE)) { return; } logger.entering(componentClassName, getCallerMethodName(), parameters); }