Class DefaultEventLogger
java.lang.Object
io.opentelemetry.api.incubator.events.DefaultEventLogger
- All Implemented Interfaces:
EventLogger
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn aEventBuilder
to emit an event.(package private) static EventLogger
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DefaultEventLogger
private DefaultEventLogger()
-
-
Method Details
-
getInstance
-
builder
Description copied from interface:EventLogger
Return aEventBuilder
to emit an event.- Specified by:
builder
in interfaceEventLogger
- 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.
-