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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Default implementation does nothing.Creates a logger for logging from the given class.intMethods 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:LogServiceCreates 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:AbstractLogServiceDefault implementation does nothing.- Specified by:
closein interfaceLogService- Overrides:
closein classAbstractLogService
-