Package datadog.opentracing
Interface LogHandler
- All Known Implementing Classes:
DefaultLogHandler
public interface LogHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidlog(long timestampMicroseconds, String event, datadog.trace.bootstrap.instrumentation.api.AgentSpan span) Handles the log implementation in the Span.voidlog(long timestampMicroseconds, Map<String, ?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span) Handles the log implementation in the Span.voidHandles the log implementation in the Span..voidHandles the log implementation in the Span.
-
Method Details
-
log
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, andspan- from which the call was made
-
log
Handles the log implementation in the Span..- Parameters:
event- the event value; often a stable identifier for a moment in the Span lifecyclespan- 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 lifecyclespan- from which the call was made
-