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
    Modifier and Type
    Class
    Description
    static class 
    A Builder class for TestLogRecordData.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new Builder for creating an LogRecordData instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.opentelemetry.sdk.logs.data.LogRecordData

    getAttributes, getBody, getInstrumentationScopeInfo, getObservedTimestampEpochNanos, getResource, getSeverity, getSeverityText, getSpanContext, getTimestampEpochNanos, getTotalAttributeCount
  • Method Details