Class TestLogRecordData
java.lang.Object
io.opentelemetry.sdk.testing.logs.TestLogRecordData
- All Implemented Interfaces:
io.opentelemetry.sdk.logs.data.LogRecordData
@Immutable
public abstract class TestLogRecordData
extends Object
implements io.opentelemetry.sdk.logs.data.LogRecordData
Immutable representation of
LogRecordData.- Since:
- 1.27.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic TestLogRecordData.Builderbuilder()Creates a new Builder for creating anLogRecordDatainstance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.opentelemetry.sdk.logs.data.LogRecordData
getAttributes, getBody, getInstrumentationScopeInfo, getObservedTimestampEpochNanos, getResource, getSeverity, getSeverityText, getSpanContext, getTimestampEpochNanos, getTotalAttributeCount
-
Method Details
-
builder
Creates a new Builder for creating anLogRecordDatainstance.
-