OtelLogRecord¶
This docs was updated at: 2026-02-23
com.paragon.telemetry.otel.OtelLogRecord ยท Record
Represents an OTLP log record.
See Also
<a href="https://opentelemetry.io/docs/specs/otel/logs/data-model/">OTEL Logs Data Model</a>
Methods¶
info¶
public static @NonNull OtelLogRecord info(
@NonNull String body,
@NonNull List<OtelAttribute> attributes,
@Nullable String traceId,
@Nullable String spanId)
Creates an INFO log record.
error¶
public static @NonNull OtelLogRecord error(
@NonNull String body,
@NonNull List<OtelAttribute> attributes,
@Nullable String traceId,
@Nullable String spanId)
Creates an ERROR log record.
debug¶
public static @NonNull OtelLogRecord debug(
@NonNull String body,
@NonNull List<OtelAttribute> attributes,
@Nullable String traceId,
@Nullable String spanId)
Creates a DEBUG log record.