public interface LoggerFactory
Logger
version.
This interface is also the front-end for managing Nested Diagnostic Contexts.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. |
Logger getLog(Class clazz)
LoggerContext pushContext(String key, Object object)
LoggerContext
and pushes it onto the stack.
LoggerContexts are removed from the stack via the LoggerContext.close()
method.void close()
Copyright © 2019 Liquibase.org. All rights reserved.