public class Slf4JLoggerFactory extends AbstractLoggerFactory
Constructor and Description |
---|
Slf4JLoggerFactory() |
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.
|
protected Logger |
createLoggerImpl(org.slf4j.Logger logger) |
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
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.protected Logger createLoggerImpl(org.slf4j.Logger logger)
public void close()
LoggerFactory
Copyright © 2020 Liquibase.org. All rights reserved.