| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Formatter | |
| public Logger | getLog(Class<T> clazz)
Implements liquibase. Creates a logger for logging from the given class. |
| protected String | getLogName(Class<T> 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. |
| public Logger | |
| public int | |
| public static void | setFormatterOnHandler(LogService logService, Handler handler)
Set the formatter for the supplied handler if the supplied log service is a JavaLogService and that service specifies a custom formatter. |
| public void | setParent(Logger parent)
Explicitly control the parent logger for all |
| loggers | back to summary |
|---|---|
| private final Map<Class<T>, JavaLogger> loggers | |
| parent | back to summary |
|---|---|
| private Logger parent | |
| JavaLogService | back to summary |
|---|---|
| public JavaLogService() | |
| getCustomFormatter | back to summary |
|---|---|
| public Formatter getCustomFormatter() | |
| getLog | back to summary |
|---|---|
| public Logger getLog(Class<T> clazz) Implements liquibase. Doc from liquibase. Creates a logger for logging from the given class. Unlike most logging systems, there is no exposed getLog(String) method in order to provide more consistency in how logs are named.
| |
| getLogName | back to summary |
|---|---|
| protected String getLogName(Class<T> 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.
| |
| getParent | back to summary |
|---|---|
| public Logger getParent() | |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements liquibase.
| |
| setFormatterOnHandler | back to summary |
|---|---|
| public static void setFormatterOnHandler(LogService logService, Handler handler) Set the formatter for the supplied handler if the supplied log service is a JavaLogService and that service specifies a custom formatter. | |
| setParent | back to summary |
|---|---|
| public void setParent(Logger parent) Explicitly control the parent logger for all | |