-
- 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 voidlog(Map<String, out Object> fields, DDSpan span)Handles the log implementation in the Span. voidlog(long timestampMicroseconds, Map<String, out Object> fields, DDSpan span)Handles the log implementation in the Span. voidlog(String event, DDSpan span)Handles the log implementation in the Span.. voidlog(long timestampMicroseconds, String event, DDSpan span)Handles the log implementation in the Span. -
-
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 lifecyclespan- 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 lifecyclespan- from which the call was made
-
-
-
-