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

com.easycode8.easylog.trace.DefaultLogTracer Maven / Gradle / Ivy

There is a newer version: 1.0.13
Show newest version
package com.easycode8.easylog.trace;


import com.easycode8.easylog.core.LogInfo;
import com.easycode8.easylog.core.trace.LogTracer;
import com.easycode8.easylog.trace.filter.MDCConstants;
import org.slf4j.MDC;

/**
 * 默认的日志追踪--暂不实现
 */
public class DefaultLogTracer implements LogTracer {

    @Override
    public void init(LogInfo logInfo) {
        logInfo.setTraceId(MDC.get(MDCConstants.TRACE_ID));
    }

    @Override
    public void start(LogInfo logInfo) {

    }

    @Override
    public void finish(LogInfo logInfo) {

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy