public class JavaLogService extends AbstractLogService
PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
Constructor and Description |
---|
JavaLogService() |
Modifier and Type | Method and Description |
---|---|
Formatter |
getCustomFormatter() |
Logger |
getLog(Class clazz)
Creates a logger for logging from the given class.
|
protected String |
getLogName(Class clazz)
Because java.util.logging differentiates between the log name and the class/method logging,
we can collapses the log names to a simpler/smaller set to allow configuration to rely on the class name less.
|
Logger |
getParent() |
int |
getPriority() |
void |
setParent(Logger parent)
Explicitly control the parent logger for all
Logger instances created. |
close, getFilter, setFilter
public int getPriority()
public Logger getLog(Class clazz)
LogService
protected String getLogName(Class clazz)
Change
classes will return a log name of "liquibase.change" no matter what class name or package name they have.public Logger getParent()
public void setParent(Logger parent)
Logger
instances created.public Formatter getCustomFormatter()
Copyright © 2023 Liquibase.org. All rights reserved.