Interface ExtendedLogRecordBuilder

All Superinterfaces:
io.opentelemetry.api.logs.LogRecordBuilder

public interface ExtendedLogRecordBuilder extends io.opentelemetry.api.logs.LogRecordBuilder
Extended LogRecordBuilder with experimental APIs.
  • Method Summary

    Modifier and Type
    Method
    Description
    setEventName(String eventName)
    Sets the event name, which identifies the class / type of the Event.

    Methods inherited from interface io.opentelemetry.api.logs.LogRecordBuilder

    emit, setAllAttributes, setAttribute, setBody, setBody, setContext, setObservedTimestamp, setObservedTimestamp, setSeverity, setSeverityText, setTimestamp, setTimestamp
  • Method Details

    • setEventName

      ExtendedLogRecordBuilder setEventName(String eventName)
      Sets the event name, which identifies the class / type of the Event.

      This name should uniquely identify the event structure (both attributes and body). A log record with a non-empty event name is an Event.