rocks.heikoseeberger.slf4s
package rocks.heikoseeberger.slf4s
Type members
Value members
Concrete methods
def withMDC[A](keyAndValue: (String, String), moreKeyAndValue: (String, String)*)(chunk: => A): Unit
Adds the given entries to the MDC, then evaluates the given chunck and finally removes the entries again.
Adds the given entries to the MDC, then evaluates the given chunck and finally removes the entries again.
- Value Params
- chunk
code to be evaluated
- keyAndValue
MDC entry
- moreKeyAndValue
more MDC entries