Interface LogHandler

All Known Implementing Classes:
DefaultLogHandler

public interface LogHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    log(long timestampMicroseconds, String event, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
    Handles the log implementation in the Span.
    void
    log(long timestampMicroseconds, Map<String,?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
    Handles the log implementation in the Span.
    void
    log(String event, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
    Handles the log implementation in the Span..
    void
    log(Map<String,?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
    Handles the log implementation in the Span.
  • Method Details

    • log

      void log(Map<String,?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
      Handles the log implementation in the Span.
      Parameters:
      fields - key:value log fields. Tracer implementations should support String, numeric, and boolean values; some may also support arbitrary Objects.
      span - from which the call was made
    • log

      void log(long timestampMicroseconds, Map<String,?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
      Handles the log implementation in the Span.
      Parameters:
      timestampMicroseconds - The explicit timestamp for the log record. Must be greater than or equal to the Span's start timestamp.
      fields - key:value log fields. Tracer implementations should support String, numeric, and
      span - from which the call was made
    • log

      void log(String event, datadog.trace.bootstrap.instrumentation.api.AgentSpan 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, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
      Handles the log implementation in the Span.
      Parameters:
      timestampMicroseconds - The explicit timestamp for the log record. Must be greater than or equal to the Span's start timestamp.
      event - the event value; often a stable identifier for a moment in the Span lifecycle
      span - from which the call was made