Class DefaultEventLogger

java.lang.Object
io.opentelemetry.api.incubator.events.DefaultEventLogger
All Implemented Interfaces:
EventLogger

class DefaultEventLogger extends Object implements EventLogger
  • Field Details

  • Constructor Details

    • DefaultEventLogger

      private DefaultEventLogger()
  • Method Details

    • getInstance

      static EventLogger getInstance()
    • builder

      public EventBuilder builder(String eventName)
      Description copied from interface: EventLogger
      Return a EventBuilder to emit an event.
      Specified by:
      builder in interface EventLogger
      Parameters:
      eventName - the event name, which identifies the class or type of event. Event with the same name are structurally similar to one another. Event names are subject to the same naming rules as attribute names. Notably, they are namespaced to avoid collisions. See event.name semantic conventions for more details.