| Package | Description |
|---|---|
| org.slf4j |
Core logging interfaces.
|
| org.slf4j.event | |
| org.slf4j.helpers |
Helper classes.
|
| org.slf4j.spi |
Classes and interfaces which are internal to SLF4J.
|
| Modifier and Type | Method and Description |
|---|---|
static Logger |
LoggerFactory.getLogger(Class
Return a logger named corresponding to the class passed as parameter, using the statically bound
ILoggerFactory instance.
|
static Logger |
LoggerFactory.getLogger(String
Return a logger named according to the name parameter using the statically bound
ILoggerFactory instance.
|
Logger |
ILoggerFactory.getLogger(String
Return an appropriate
Logger instance as specified by the
name parameter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EventRecodingLogger
|
| Modifier and Type | Class and Description |
|---|---|
class |
MarkerIgnoringBase
This class serves as base for adapters or native implementations of logging systems lacking Marker support.
|
class |
NOPLogger
A direct NOP (no operation) implementation of
Logger.
|
class |
SubstituteLogger
A logger implementation which logs via a delegate logger.
|
| Modifier and Type | Method and Description |
|---|---|
Logger |
NOPLoggerFactory.getLogger(String
|
Logger |
SubstituteLoggerFactory.getLogger(String
|
| Modifier and Type | Method and Description |
|---|---|
void |
SubstituteLogger.setDelegate(Logger
Typically called after the
LoggerFactory initialization phase is completed.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LocationAwareLogger
An
optional interface helping integration with logging systems capable of extracting location information.
|