Package datadog.opentracing
Class DefaultLogHandler
java.lang.Object
datadog.opentracing.DefaultLogHandler
- All Implemented Interfaces:
LogHandler
The default implementation of the LogHandler.
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultLogHandler
public DefaultLogHandler()
-
-
Method Details
-
log
Description copied from interface:LogHandlerHandles the log implementation in the Span.- Specified by:
login interfaceLogHandler- 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
public void log(long timestampMicroseconds, Map<String, ?> fields, datadog.trace.bootstrap.instrumentation.api.AgentSpan span) Description copied from interface:LogHandlerHandles the log implementation in the Span.- Specified by:
login interfaceLogHandler- 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
Description copied from interface:LogHandlerHandles the log implementation in the Span..- Specified by:
login interfaceLogHandler- Parameters:
event- the event value; often a stable identifier for a moment in the Span lifecyclespan- from which the call was made
-
log
public void log(long timestampMicroseconds, String event, datadog.trace.bootstrap.instrumentation.api.AgentSpan span) Description copied from interface:LogHandlerHandles the log implementation in the Span.- Specified by:
login interfaceLogHandler- 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
-