Class LogStatelessMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.otlp.logs.LogStatelessMarshaler
- All Implemented Interfaces:
StatelessMarshaler<LogRecordData>
See
LogMarshaler.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final LogStatelessMarshalerprivate static final Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBinarySerializedSize(LogRecordData log, MarshalerContext context) Returns the number of bytes marshaling given value will write in proto binary format.voidwriteTo(Serializer output, LogRecordData log, MarshalerContext context) Marshal given value using the providedSerializer.
-
Field Details
-
INVALID_TRACE_ID
-
INVALID_SPAN_ID
-
INSTANCE
-
-
Constructor Details
-
LogStatelessMarshaler
LogStatelessMarshaler()
-
-
Method Details
-
writeTo
public void writeTo(Serializer output, LogRecordData log, MarshalerContext context) throws IOException Description copied from interface:StatelessMarshalerMarshal given value using the providedSerializer.- Specified by:
writeToin interfaceStatelessMarshaler<LogRecordData>- Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshalerReturns the number of bytes marshaling given value will write in proto binary format.- Specified by:
getBinarySerializedSizein interfaceStatelessMarshaler<LogRecordData>
-