com.datadoghq.trace.writer.LoggingWritter Maven / Gradle / Ivy
package com.datadoghq.trace.writer;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.auto.service.AutoService;
import io.opentracing.Span;
@AutoService(Writer.class)
public class LoggingWritter implements Writer{
private static final Logger logger = LoggerFactory.getLogger(LoggingWritter.class.getName());
@Override
public void write(List trace) {
logger.info("write(trace): {}", trace);
}
@Override
public void close() {
logger.info("close()");
}
@Override
public void start() {
logger.info("start()");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy