/Users/richardallenbair/Documents/Source/Projects/nonsense/swingx/src/beaninfo/LogErrorReporter_API.java |
package org.jdesktop.swingx.error; /** * <p>A simple {@link ErrorReporter} that sends errors to a log file, using the * standard logging facility. This allows the user to decide which errors are * worth logging, and which aren't. It is anticipated that this class will * prove more useful in admin or power user applications, as opposed to consumer * oriented applications. However, if combined with some other error reporter * such as {@link JavaMailErrorReporter}, this class may prove useful even * in consumer applications.</p> * * @author rbair */ public class LogErrorReporter extends JavaBean implements ErrorReporter { /** Creates a new instance of <code>LogErrorReporter</code> */ public LogErrorReporter(); /** * Sets the <code>Logger</code> to log error reports to. * * @param log the <code>Logger</code> which will receive error reports */ public void setLog(Logger log); /** * Gets the log. * * @return the <code>Logger</code> which will receive error reports */ public Logger getLogger(); /** * @inheritDoc */ public void reportIncident(IncidentInfo info); }