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

com.datadoghq.trace.writer.LoggingWritter Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
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