Package liquibase.logging
Interface Logger
-
- All Superinterfaces:
AutoCloseable
,Cloneable
,ExtensibleObject
- All Known Implementing Classes:
AbstractLogger
,AntTaskLogger
,BufferedLogger
,CompositeLogger
,JavaLogger
,NoOpLogger
public interface Logger extends ExtensibleObject, AutoCloseable
Interface to class that does the actual logging. Instances will be created byLogService
, normally throughScope.getLog(Class)
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default void
close()
void
config(String message)
Logs configuration information.void
config(String message, Throwable e)
Logs configuration information together with data from an error/exception.void
debug(String message)
Deprecated.usefine(String)
void
debug(String message, Throwable e)
Deprecated.void
fine(String message)
Logs a debugging event to aid in troubleshooting.void
fine(String message, Throwable e)
Logs a debugging event to aid in troubleshooting together with data from an error/exception.void
info(String message)
Logs a general event that might be useful for the user.void
info(String message, Throwable e)
Logs a general event that might be useful for the user together with data from an error/exception.void
log(Level level, String message, Throwable e)
Generic log method that can log at any log levelvoid
severe(String message)
Log that a severe error that occurred.void
severe(String message, Throwable e)
Log an error together with data from an error/exception.void
warning(String message)
Log a event the user should be warned about.void
warning(String message, Throwable e)
Log a event the user should be warned about together with data from an error/exception.-
Methods inherited from interface liquibase.ExtensibleObject
clone, describe, get, get, getAttributes, getObjectMetaData, getValuePath, has, set
-
-
-
-
Method Detail
-
close
default void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
log
void log(Level level, String message, Throwable e)
Generic log method that can log at any log level
-
severe
void severe(String message)
Log that a severe error that occurred.
-
severe
void severe(String message, Throwable e)
Log an error together with data from an error/exception.
-
warning
void warning(String message)
Log a event the user should be warned about.
-
warning
void warning(String message, Throwable e)
Log a event the user should be warned about together with data from an error/exception.
-
info
void info(String message)
Logs a general event that might be useful for the user.
-
info
void info(String message, Throwable e)
Logs a general event that might be useful for the user together with data from an error/exception.
-
config
void config(String message)
Logs configuration information.
-
config
void config(String message, Throwable e)
Logs configuration information together with data from an error/exception.
-
fine
void fine(String message)
Logs a debugging event to aid in troubleshooting.
-
fine
void fine(String message, Throwable e)
Logs a debugging event to aid in troubleshooting together with data from an error/exception.
-
debug
void debug(String message)
Deprecated.usefine(String)
-
-