Top Description Fields Methods
liquibase.logging

public Interface LogService

extends Plugin
Known Direct Implementers
liquibase.logging.core.AbstractLogService
Imports
liquibase.logging.core.JavaLogService, liquibase.plugin.Plugin

This service is used to create named Logger instances through a LogService.

The default LoggerFactory used in JavaLogService uses java.util.logging.Logger

Field Summary

Inherited from liquibase.plugin.Plugin:
PRIORITY_DATABASEPRIORITY_DEFAULTPRIORITY_NOT_APPLICABLEPRIORITY_SPECIALIZED

Method Summary

Modifier and TypeMethod and Description
public void
close()

Closes the current log output file(s) or any other resources used by this LoggerFactory and its Loggers.

public LogMessageFilter
getFilter()
References Deprecated LogMessageFilter is deprecated or references (maybe indirectly) at least one deprecated element.

public Logger
getLog(Class<T> clazz)

Creates a logger for logging from the given class.

public int
public void
setFilter(LogMessageFilter filter)
References Deprecated LogMessageFilter is deprecated or references (maybe indirectly) at least one deprecated element.

Sets the filter to use for messages sent through this log service.

Method Detail

closeback to summary
public void close()

Closes the current log output file(s) or any other resources used by this LoggerFactory and its Loggers.

getFilterback to summary
public LogMessageFilter getFilter()

References Deprecated

LogMessageFilter is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

getLogback to summary
public Logger getLog(Class<T> clazz)

Creates a logger for logging from the given class. Unlike most logging systems, there is no exposed getLog(String) method in order to provide more consistency in how logs are named.

getPriorityback to summary
public int getPriority()
setFilterback to summary
public void setFilter(LogMessageFilter filter)

References Deprecated

LogMessageFilter is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Sets the filter to use for messages sent through this log service.