| 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  ILoggerFactoryinstance. | 
| Logger | ILoggerFactory. getLogger(String name)Return an appropriate  Loggerinstance as specified by thenameparameter. | 
| static Logger | LoggerFactory. getLogger(String name)Return a logger named according to the name parameter using the
 statically bound  ILoggerFactoryinstance. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EventRecodingLoggerThis class is used to record events during the initialization phase of the
 underlying logging framework. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MarkerIgnoringBaseThis class serves as base for adapters or native implementations of logging systems 
 lacking Marker support. | 
| class  | NOPLoggerA direct NOP (no operation) implementation of  Logger. | 
| class  | SubstituteLoggerA logger implementation which logs via a delegate logger. | 
| Modifier and Type | Method and Description | 
|---|---|
| Logger | NOPLoggerFactory. getLogger(String name) | 
| Logger | SubstituteLoggerFactory. getLogger(String name) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SubstituteLogger. setDelegate(Logger delegate)Typically called after the  LoggerFactoryinitialization phase is completed. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | LocationAwareLoggerAn optional interface helping integration with logging systems capable of 
 extracting location information. | 
Copyright © 2005–2019 QOS.ch. All rights reserved.