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)
LoggerFactory
getLog
in interface LoggerFactory
public LoggerContext pushContext(String key, Object object)
LoggerFactory
LoggerContext
and pushes it onto the stack.
LoggerContexts are removed from the stack via the LoggerContext.close()
method.pushContext
in interface LoggerFactory
public void close()
LoggerFactory
close
in interface LoggerFactory
Copyright © 2020 Liquibase.org. All rights reserved.