LoggingContextSetter
Interface to abstract setting the logging context variables.
In classic multithreaded environments, you can just use THREAD_LOCAL_INSTANCE, though the caller of RestateEndpoint must take care of the cleanup of the thread local map.