peekThreadLocalSmartTags

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.

Note: the thread local storage is only populated when an exception is thrown within a withSmartTags() block.