Package 

Class LoggingWriter

  • 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
      void write(List<DDSpan> trace) Write a trace represented by the entire list of all the finished spans
      void incrementTraceCount() Count that a trace was captured for stats, but without reporting it.
      void close() Indicates to the writer that no future writing will come and it should terminates allconnections and tasks
      void start() Start the writer
      String toString()
      • Methods inherited from class com.datadog.trace.common.writer.Writer

        write
      • Methods inherited from class java.io.Closeable

        close
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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