| java.lang.Object org.isqlviewer.util.LoggableObject
All known Subclasses: org.isqlviewer.swing.table.EnhancedTableModel, org.isqlviewer.sql.platform.OracleRegistrar, org.isqlviewer.ui.listeners.BookmarkTreeDragListener, org.isqlviewer.ui.AbstractApplicationView, org.isqlviewer.util.AsynchronousBookmarkSaver, org.isqlviewer.ui.listeners.SchemaTreeListener, org.isqlviewer.ui.dnd.SchemaNodeRenderer, org.isqlviewer.util.QueryExecutor, org.isqlviewer.ui.wizards.AbstractWizardStep, org.isqlviewer.ui.listeners.SchemaTreeDragListener, org.isqlviewer.ui.listeners.ThrowableTreeDragListener, org.isqlviewer.sql.RegistrarFactory, org.isqlviewer.ui.listeners.HistoryTreeDragListener, org.isqlviewer.swing.AbstractTreeModel, org.isqlviewer.ui.wizards.service.ServiceWizard,
LoggableObject | abstract public class LoggableObject (Code) | | Utility base class for providing logging support as part of the class itself.
Point of this is simple; and that is to make logging information via log4j easier
author: Mark A. Kobold <mkobold at isqlviewer dot com> version: 1.0 |
Method Summary | |
final protected void | debug(Object message, Throwable error) Logs debugging messages and supplementary exception. | final protected void | debug(Object message) Logs message for debugging purposes. | final protected void | error(Object message, Throwable error) Logs error messages and supplementary exception. | final protected void | error(Object message) Logs an error message. | final protected void | info(Object message, Throwable error) Logs informational error and supplementary message. | final protected void | info(Object message) Logs an informational message. | final protected void | warn(Object message, Throwable error) Logs warning messages and supplementary exception. | final protected void | warn(Object message) Logs warning messages. |
debug | final protected void debug(Object message, Throwable error)(Code) | | Logs debugging messages and supplementary exception.
if debug messages are enabled the message and exception will be logged to designated destination.
Parameters: message - debug message to log. Parameters: error - exception associated with the message. |
debug | final protected void debug(Object message)(Code) | | Logs message for debugging purposes.
if debugging is enabled the message will be logged to designated destination.
Parameters: message - debug information to log. |
error | final protected void error(Object message, Throwable error)(Code) | | Logs error messages and supplementary exception.
if error messages are enabled the message and exception will be logged to designated destination.
Parameters: message - error message to log. Parameters: error - exception associated with the message. |
error | final protected void error(Object message)(Code) | | Logs an error message.
if error logging is enabled the message will be logged to designated destination.
Parameters: message - error message to log. |
info | final protected void info(Object message, Throwable error)(Code) | | Logs informational error and supplementary message.
if informational messages are enabled the message and exception will be logged to designated destination.
Parameters: message - informational message to log. Parameters: error - exception associated with the message. |
info | final protected void info(Object message)(Code) | | Logs an informational message.
if informational loggins is enabled the message will be logged to designated destination.
Parameters: message - informational message to log. |
warn | final protected void warn(Object message, Throwable error)(Code) | | Logs warning messages and supplementary exception.
Parameters: message - warning message to log. Parameters: error - exception associated with the message. |
warn | final protected void warn(Object message)(Code) | | Logs warning messages.
Parameters: message - warning information to log. |
|
|