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

org.slf4j.impl.StaticMDCBinder Maven / Gradle / Ivy

There is a newer version: 2.0.0-M1
Show newest version
package org.slf4j.impl;

import org.slf4j.spi.MDCAdapter;

/**
 * @author noear
 * @since 1.0
 */
public class StaticMDCBinder {
    public static final StaticMDCBinder SINGLETON = new StaticMDCBinder();

    private StaticMDCBinder() {
    }

    public static final StaticMDCBinder getSingleton() {
        return SINGLETON;
    }

    public MDCAdapter getMDCA() {
        return new SolonMDCAdapter();
    }

    public String getMDCAdapterClassStr() {
        return SolonMDCAdapter.class.getName();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy