com.gc.craftsman.logstash.logback.thread.RequestScopeContext Maven / Gradle / Ivy
package com.gc.craftsman.logstash.logback.thread;
import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Map;
import java.util.Set;
/**
* Created by cjw on 23/09/2017.
*/
public class RequestScopeContext {
private static final Logger logger = LoggerFactory.getLogger(RequestScopeContext.class);
private static RequestScopeContext instance = new RequestScopeContext();
private ThreadLocal