Package liquibase.logging.core
Class AbstractLogger
- java.lang.Object
-
- liquibase.AbstractExtensibleObject
-
- liquibase.logging.core.AbstractLogger
-
- All Implemented Interfaces:
AutoCloseable,Cloneable,ExtensibleObject,Logger
- Direct Known Subclasses:
AntTaskLogger,BufferedLogger,CompositeLogger,JavaLogger,NoOpLogger
public abstract class AbstractLogger extends AbstractExtensibleObject implements Logger
Convenience base implementation of a Logger. Default implementation calls down to theLogger.log(Level, String, Throwable)method for all the convenience methods.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLogger()protectedAbstractLogger(LogMessageFilter ignored)Deprecated.use {@link AbstractLogger(). Passed filter is not used.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidconfig(String message)Logs configuration information.voidconfig(String message, Throwable e)Logs configuration information together with data from an error/exception.voiddebug(String message)voiddebug(String message, Throwable e)protected StringfilterMessage(String message)Deprecated.now just returns the messagevoidfine(String message)Logs a debugging event to aid in troubleshooting.voidfine(String message, Throwable e)Logs a debugging event to aid in troubleshooting together with data from an error/exception.voidinfo(String message)Logs a general event that might be useful for the user.voidinfo(String message, Throwable e)Logs a general event that might be useful for the user together with data from an error/exception.voidsevere(String message)Log that a severe error that occurred.voidsevere(String message, Throwable e)Log an error together with data from an error/exception.voidwarning(String message)Log a event the user should be warned about.voidwarning(String message, Throwable e)Log a event the user should be warned about together with data from an error/exception.-
Methods inherited from class liquibase.AbstractExtensibleObject
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface liquibase.ExtensibleObject
clone, describe, get, get, getAttributes, getObjectMetaData, getValuePath, has, set
-
-
-
-
Constructor Detail
-
AbstractLogger
@Deprecated protected AbstractLogger(LogMessageFilter ignored)
Deprecated.use {@link AbstractLogger(). Passed filter is not used.
-
AbstractLogger
protected AbstractLogger()
-
-
Method Detail
-
severe
public void severe(String message)
Description copied from interface:LoggerLog that a severe error that occurred.
-
severe
public void severe(String message, Throwable e)
Description copied from interface:LoggerLog an error together with data from an error/exception.
-
warning
public void warning(String message)
Description copied from interface:LoggerLog a event the user should be warned about.
-
warning
public void warning(String message, Throwable e)
Description copied from interface:LoggerLog a event the user should be warned about together with data from an error/exception.
-
info
public void info(String message)
Description copied from interface:LoggerLogs a general event that might be useful for the user.
-
info
public void info(String message, Throwable e)
Description copied from interface:LoggerLogs a general event that might be useful for the user together with data from an error/exception.
-
config
public void config(String message)
Description copied from interface:LoggerLogs configuration information.
-
config
public void config(String message, Throwable e)
Description copied from interface:LoggerLogs configuration information together with data from an error/exception.
-
fine
public void fine(String message)
Description copied from interface:LoggerLogs a debugging event to aid in troubleshooting.
-
fine
public void fine(String message, Throwable e)
Description copied from interface:LoggerLogs a debugging event to aid in troubleshooting together with data from an error/exception.
-
filterMessage
@Deprecated protected String filterMessage(String message)
Deprecated.now just returns the message
-
-