Package liquibase.integration.ant
Class AntTaskLogService
java.lang.Object
liquibase.logging.core.AbstractLogService
liquibase.integration.ant.AntTaskLogService
- All Implemented Interfaces:
LogService
,Plugin
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
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Default implementation does nothing.Creates a logger for logging from the given class.int
Methods inherited from class liquibase.logging.core.AbstractLogService
getFilter, setFilter
-
Constructor Details
-
AntTaskLogService
public AntTaskLogService(org.apache.tools.ant.Task task)
-
-
Method Details
-
getPriority
public int getPriority() -
getLog
Description copied from interface:LogService
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. -
close
public void close()Description copied from class:AbstractLogService
Default implementation does nothing.- Specified by:
close
in interfaceLogService
- Overrides:
close
in classAbstractLogService
-