/** * Writes an exception to this writer. * The exception level is "finer". */ public void finer(Throwable ex) { this.finer(null, ex); } /**
/** * Log a method return. * <p>The logging is done using the <code>finer</code> level. * The string message will start with <code>"RETURN"</code> and * include the class and method names. * @param sourceClass Name of class that issued the logging request. * @param sourceMethod Name of the method that issued the logging request. */ public void exiting(String sourceClass, String sourceMethod) { if (this.finerEnabled()) { this.finer("RETURN " + sourceClass + ":" + sourceMethod); } } /**
/** * Log a method entry. * <p>The logging is done using the <code>finer</code> level. * The string message will start with <code>"ENTRY"</code> and * include the class and method names. * @param sourceClass Name of class that issued the logging request. * @param sourceMethod Name of the method that issued the logging request. */ public void entering(String sourceClass, String sourceMethod) { if (this.finerEnabled()) { this.finer("ENTRY " + sourceClass + ":" + sourceMethod); } } /**
/** * Writes a message to this writer. * The message level is "finer". */ public void finer(String msg) { this.finer(msg, null); } /**
/** * Log throwing an exception. * <p> Use to log that a method is * terminating by throwing an exception. The logging is done using * the <code>finer</code> level. * <p> This is a convenience method that could be done * instead by calling {@link #finer(String, Throwable)}. * The string message will start with <code>"THROW"</code> and * include the class and method names. * @param sourceClass Name of class that issued the logging request. * @param sourceMethod Name of the method that issued the logging request. * @param thrown The Throwable that is being thrown. */ public void throwing(String sourceClass, String sourceMethod, Throwable thrown) { if (this.finerEnabled()) { this.finer("THROW " + sourceClass + ":" + sourceMethod, thrown); } } /**