Top Description Fields Constructors Methods
liquibase.integration.ant

public final Class AntTaskLogService

extends AbstractLogService
Class Inheritance
Imports
liquibase.logging.Logger, liquibase.logging.core.AbstractLogService, org.apache.tools.ant.Task

An implementation of the Liquibase LogService that logs all messages to the given Ant task. This should only be used inside of Ant tasks.

Field Summary

Modifier and TypeField and Description
private final AntTaskLogger

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Overrides liquibase.logging.core.AbstractLogService.close.

Implements liquibase.logging.LogService.close.

Default implementation does nothing.

public Logger
getLog(Class<T> clazz)

Implements liquibase.logging.LogService.getLog.

Creates a logger for logging from the given class.

public int
Inherited from liquibase.logging.core.AbstractLogService:
getFiltersetFilter

Field Detail

loggerback to summary
private final AntTaskLogger logger

Constructor Detail

AntTaskLogServiceback to summary
public AntTaskLogService(Task task)

Method Detail

closeback to summary
public void close()

Overrides liquibase.logging.core.AbstractLogService.close.

Implements liquibase.logging.LogService.close.

Doc from liquibase.logging.core.AbstractLogService.close.

Default implementation does nothing.

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

Implements liquibase.logging.LogService.getLog.

Doc from liquibase.logging.LogService.getLog.

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.

Annotations
@Override
getPriorityback to summary
public int getPriority()

Implements liquibase.logging.LogService.getPriority.

Annotations
@Override