Top Description Methods
liquibase.logging

public Interface Logger

extends ExtensibleObject, AutoCloseable
Known Direct Implementers
liquibase.logging.core.AbstractLogger
Imports
liquibase.ExtensibleObject, java.util.logging.Level

Interface to class that does the actual logging. Instances will be created by LogService, normally through liquibase.Scope#getLog(Class)).

Method Summary

Modifier and TypeMethod and Description
public default void
close()

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

public void
config(String message)

Logs configuration information.

public void
config(String message, Throwable e)

Logs configuration information together with data from an error/exception.

public void
debug(String message)
Deprecated use fine(String)

public void
debug(String message, Throwable e)
Deprecated use fine(String, Throwable)

public void
fine(String message)

Logs a debugging event to aid in troubleshooting.

public void
fine(String message, Throwable e)

Logs a debugging event to aid in troubleshooting together with data from an error/exception.

public void
info(String message)

Logs a general event that might be useful for the user.

public void
info(String message, Throwable e)

Logs a general event that might be useful for the user together with data from an error/exception.

public void
log(Level level, String message, Throwable e)

Generic log method that can log at any log level

public void
severe(String message)

Log that a severe error that occurred.

public void
severe(String message, Throwable e)

Log an error together with data from an error/exception.

public void
warning(String message)

Log a event the user should be warned about.

public void
warning(String message, Throwable e)

Log a event the user should be warned about together with data from an error/exception.

Inherited from liquibase.ExtensibleObject:
clonedescribegetgetgetAttributesgetObjectMetaDatagetValuePathhasset

Method Detail

closeback to summary
public default void close() throws Exception

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
Exceptions
Exception:
if this resource cannot be closed
configback to summary
public void config(String message)

Logs configuration information.

configback to summary
public void config(String message, Throwable e)

Logs configuration information together with data from an error/exception.

debugback to summary
public void debug(String message)

Deprecated

use fine(String)

debugback to summary
public void debug(String message, Throwable e)

Deprecated

use fine(String, Throwable)

fineback to summary
public void fine(String message)

Logs a debugging event to aid in troubleshooting.

fineback to summary
public void fine(String message, Throwable e)

Logs a debugging event to aid in troubleshooting together with data from an error/exception.

infoback to summary
public void info(String message)

Logs a general event that might be useful for the user.

infoback to summary
public void info(String message, Throwable e)

Logs a general event that might be useful for the user together with data from an error/exception.

logback to summary
public void log(Level level, String message, Throwable e)

Generic log method that can log at any log level

severeback to summary
public void severe(String message)

Log that a severe error that occurred.

severeback to summary
public void severe(String message, Throwable e)

Log an error together with data from an error/exception.

warningback to summary
public void warning(String message)

Log a event the user should be warned about.

warningback to summary
public void warning(String message, Throwable e)

Log a event the user should be warned about together with data from an error/exception.