Package 

Class DefaultLogHandler

  • All Implemented Interfaces:
    com.datadog.opentracing.LogHandler

    
    public class DefaultLogHandler
     implements LogHandler
                        

    The default implementation of the LogHandler.

    • Method Summary

      Modifier and Type Method Description
      void log(Map<String, out Object> fields, DDSpan span) Handles the log implementation in the Span.
      void log(long timestampMicroseconds, Map<String, out Object> fields, DDSpan span) Handles the log implementation in the Span.
      void log(String event, DDSpan span) Handles the log implementation in the Span..
      void log(long timestampMicroseconds, String event, DDSpan span) Handles the log implementation in the Span.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • log

         void log(Map<String, out Object> fields, DDSpan span)

        Handles the log implementation in the Span.

        Parameters:
        fields - key:value log fields.
        span - from which the call was made
      • log

         void log(long timestampMicroseconds, Map<String, out Object> fields, DDSpan span)

        Handles the log implementation in the Span.

        Parameters:
        timestampMicroseconds - The explicit timestamp for the log record.
        fields - key:value log fields.
        span - from which the call was made
      • log

         void log(String event, DDSpan span)

        Handles the log implementation in the Span..

        Parameters:
        event - the event value; often a stable identifier for a moment in the Span lifecycle
        span - from which the call was made
      • log

         void log(long timestampMicroseconds, String event, DDSpan span)

        Handles the log implementation in the Span.

        Parameters:
        timestampMicroseconds - The explicit timestamp for the log record.
        event - the event value; often a stable identifier for a moment in the Span lifecycle
        span - from which the call was made