public class DefaultLogHandler extends Object implements LogHandler
| Constructor and Description |
|---|
DefaultLogHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
log(long timestampMicroseconds,
Map<String,?> fields,
datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
Handles the log implementation in the Span.
|
void |
log(long timestampMicroseconds,
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.
|
void |
log(String event,
datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
Handles the log implementation in the Span..
|
public void log(Map<String,?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
LogHandlerlog in interface LogHandlerfields - 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 madepublic void log(long timestampMicroseconds,
Map<String,?> fields,
datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
LogHandlerlog in interface LogHandlertimestampMicroseconds - 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 madepublic void log(String event, datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
LogHandlerlog in interface LogHandlerevent - the event value; often a stable identifier for a moment in the Span lifecyclespan - from which the call was madepublic void log(long timestampMicroseconds,
String event,
datadog.trace.bootstrap.instrumentation.api.AgentSpan span)
LogHandlerlog in interface LogHandlertimestampMicroseconds - 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