Does SLF4J have some handle allowing thread-local MDC values being pre-set?

What I miss and seek is some SLF4J-specific handle being invoked once per
thread -- something quite simple and not unlike the ContextDataProvider
handle in Log4j2 being invoked once per log event (the handle itself is
obtained through a ServiceLoader).

Are there any tricks to have MDC values be pre-set -- implicitly, of course
without making explicit method-calls -- ?

-- 
Med venlig hilsen
Morten Sabroe Mortensen
_______________________________________________
slf4j-user mailing list
slf4j-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-user

Reply via email to