-
public interface LogHandler
-
-
Method Summary
Modifier and Type Method Description abstract voidlog(Map<String, out Object> fields, DDSpan span)Handles the log implementation in the Span. abstract voidlog(long timestampMicroseconds, Map<String, out Object> fields, DDSpan span)Handles the log implementation in the Span. abstract voidlog(String event, DDSpan span)Handles the log implementation in the Span.. abstract voidlog(long timestampMicroseconds, String event, DDSpan span)Handles the log implementation in the Span. -
-
Method Detail
-
log
abstract 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
abstract 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
abstract 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
abstract 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
-
-
-
-