org.slf4j.TtlMDCAdapter Maven / Gradle / Ivy
package org.slf4j;
import ch.qos.logback.classic.util.LogbackMDCAdapter;
import com.alibaba.ttl.TransmittableThreadLocal;
import org.slf4j.spi.MDCAdapter;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
public class TtlMDCAdapter implements MDCAdapter {
private final ThreadLocal