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<?> clazz)
Return a logger named corresponding to the class passed as parameter,
using the statically bound
ILoggerFactory instance. |
static Logger |
LoggerFactory.getLogger(String name)
Return a logger named according to the name parameter using the
statically bound
ILoggerFactory instance. |
Logger |
ILoggerFactory.getLogger(String name)
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 |
SubstituteLoggerFactory.getLogger(String name) |
Logger |
NOPLoggerFactory.getLogger(String name) |
Modifier and Type | Method and Description |
---|---|
void |
SubstituteLogger.setDelegate(Logger delegate)
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.
|
Copyright © 2005–2017 QOS.ch. All rights reserved.