| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clearMdc()
Implements org. Removes all entries from the message diagnostics context. |
| public Logger | getLogger(final String
the name of the logger name)Implements org. Returns a logger which is backed by a logger from the log provider. |
| public Object | getMdc(final String
the key to lookup the value for key)Implements org. Returns the value for the key on the message diagnostics context or |
| public Map | |
| public Object | putMdc(final String
the key for the value key, final Object the value value)Implements org. Puts the value onto the message diagnostics context. |
| public void | removeMdc(final String
the key of the value to remove key)Implements org. Removes the value from the message diagnostics context. |
| Slf4jLoggerProvider | back to summary |
|---|---|
| public Slf4jLoggerProvider() | |
| clearMdc | back to summary |
|---|---|
| public void clearMdc() Implements org. Doc from org. Removes all entries from the message diagnostics context.
| |
| getLogger | back to summary |
|---|---|
| public Logger getLogger(final String name) Implements org. Doc from org. Returns a logger which is backed by a logger from the log provider. Note this should never be | |
| getMdc | back to summary |
|---|---|
| public Object getMdc(final String key) Implements org. Doc from org. Returns the value for the key on the message diagnostics context or | |
| getMdcMap | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns the map from the context. Note that in most implementations this is an expensive operation and should be used sparingly. | |
| putMdc | back to summary |
|---|---|
| public Object putMdc(final String key, final Object value) Implements org. Doc from org. Puts the value onto the message diagnostics context. | |
| removeMdc | back to summary |
|---|---|
| public void removeMdc(final String key) Implements org. Doc from org. Removes the value from the message diagnostics context. | |