-
- All Implemented Interfaces:
-
com.datadog.trace.common.writer.Writer,java.io.Closeable,java.lang.AutoCloseable
public class LoggingWriter implements Writer
-
-
Method Summary
Modifier and Type Method Description voidwrite(List<DDSpan> trace)Write a trace represented by the entire list of all the finished spans voidincrementTraceCount()Count that a trace was captured for stats, but without reporting it. voidclose()Indicates to the writer that no future writing will come and it should terminates allconnections and tasks voidstart()Start the writer StringtoString()-
-
Method Detail
-
write
void write(List<DDSpan> trace)
Write a trace represented by the entire list of all the finished spans
- Parameters:
trace- the list of spans to write
-
incrementTraceCount
void incrementTraceCount()
Count that a trace was captured for stats, but without reporting it.
-
close
void close()
Indicates to the writer that no future writing will come and it should terminates allconnections and tasks
-
start
void start()
Start the writer
-
-
-
-