java.util.ServiceLoader paradigm.
It replaces the old static-binding mechanism used in SLF4J versions 1.0.x to 1.7.x.
| Modifier and Type | Method and Description |
|---|---|
| public ILoggerFactory | Returns: instance ofILoggerFactoryReturn the instance of |
| public IMarkerFactory | Returns: instance ofIMarkerFactoryReturn the instance of |
| public MDCAdapter | Returns: instance ofMDCAdapterReturn the instance of |
| public String | Returns: the string API version.Return the maximum API version for SLF4J that the logging implementation supports. |
| public void |
| getLoggerFactory | back to summary |
|---|---|
| public ILoggerFactory getLoggerFactory() Return the instance of
| |
| getMarkerFactory | back to summary |
|---|---|
| public IMarkerFactory getMarkerFactory() Return the instance of
| |
| getMDCAdapter | back to summary |
|---|---|
| public MDCAdapter getMDCAdapter() Return the instance of
| |
| getRequestedApiVersion | back to summary |
|---|---|
| public String getRequestedApiVersion() Return the maximum API version for SLF4J that the logging implementation supports. For example:
| |
| initialize | back to summary |
|---|---|
| public void initialize() Initialize the logging back-end. Warning This method is intended to be called once by
| |