SmartTagsThreadLocalHandler

@ExperimentalMiskApi
object SmartTagsThreadLocalHandler

Functions

Link copied to clipboard

Retrieves all the logging MDC tags that were added to the logger via withSmartTags() but leaves them in place. Useful for catching and logging exceptions within a nested withSmartTags block.

Link copied to clipboard

Retrieves all the logging MDC tags that were added to the logger via withSmartTags() and clears the thread local storage.