| Modifier and Type | Class and Description |
|---|---|
class |
ConsoleLoggerFactory
A
LoggerFactory that creates ConsoleLogger objects. |
class |
DefaultLoggerFactory
The default
LoggerFactory, which tries to create a Logger as follows:
If a custom LoggerFactory has been provided, call that and return the result
If slf4j is available on the class path, create an Slf4jLogger
If the system property java.util.logging.config.file is present, or if the file
logging.properties is present as a resource, create a JavaLogger
Otherwise, create a ConsoleLogger
|
class |
JavaLoggerFactory
A
LoggerFactory that creates JavaLogger objects. |
class |
NullLoggerFactory
A
LoggerFactory that returns only a NullLogger. |
| Modifier and Type | Method and Description |
|---|---|
static LoggerFactory |
LoggerFactory.getDefault()
Get the default
LoggerFactory (usually, but not necessarily, a DefaultLoggerFactory). |
| Modifier and Type | Method and Description |
|---|---|
static void |
LoggerFactory.setDefault(LoggerFactory loggerFactory)
Set the default
LoggerFactory. |
Copyright © 2021. All rights reserved.