<V> V |
LogContext.attach(Logger.AttachmentKey<V> key,
V value) |
Attach an object to this log context under a given key.
|
<V> V |
Logger.attach(Logger.AttachmentKey<V> key,
V value) |
Attach an object to this logger under a given key.
|
<V> V |
LogContext.attachIfAbsent(Logger.AttachmentKey<V> key,
V value) |
Attach an object to this log context under a given key, if such an attachment does not already exist.
|
<V> V |
Logger.attachIfAbsent(Logger.AttachmentKey<V> key,
V value) |
Attach an object to this logger under a given key, if such an attachment does not already exist.
|
<V> V |
LogContext.detach(Logger.AttachmentKey<V> key) |
Remove an attachment.
|
<V> V |
Logger.detach(Logger.AttachmentKey<V> key) |
Remove an attachment.
|
<V> V |
LogContext.getAttachment(String loggerName,
Logger.AttachmentKey<V> key) |
Get a logger attachment for a logger name, if it exists.
|
<V> V |
LogContext.getAttachment(Logger.AttachmentKey<V> key) |
Get the attachment value for a given key, or null if there is no such attachment.
|
<V> V |
Logger.getAttachment(Logger.AttachmentKey<V> key) |
Get the attachment value for a given key, or null if there is no such attachment.
|