All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vrap.rmf.base.client.MDCContext Maven / Gradle / Ivy

There is a newer version: 17.17.0
Show newest version

package io.vrap.rmf.base.client;

import java.util.Map;

import org.slf4j.MDC;

public class MDCContext implements Context {
    final Map contextMap;

    public MDCContext() {
        contextMap = MDC.getCopyOfContextMap();
    }

    public MDCContext(Map contextMap) {
        this.contextMap = contextMap;
    }

    @Override
    public Map getValue() {
        return contextMap;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy