public final class AntTaskLogFactory extends Object implements LoggerFactory
| Constructor and Description |
|---|
AntTaskLogFactory(org.apache.tools.ant.Task task) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the current log output file(s) or any other resources used by this LoggerFactory and its Loggers.
|
Logger |
getLog(Class clazz)
Creates a logger for logging from the given class.
|
LoggerContext |
pushContext(String key,
Object object)
Creates a new
LoggerContext and pushes it onto the stack. |
public Logger getLog(Class clazz)
LoggerFactorygetLog in interface LoggerFactorypublic LoggerContext pushContext(String key, Object object)
LoggerFactoryLoggerContext and pushes it onto the stack.
LoggerContexts are removed from the stack via the LoggerContext.close() method.pushContext in interface LoggerFactorypublic void close()
LoggerFactoryclose in interface LoggerFactoryCopyright © 2019 Liquibase.org. All rights reserved.