Skip to content

Commit 872f40c

Browse files
committed
Fixes GetBody::ReadWriteLogRecord
1 parent d6dc0b1 commit 872f40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/include/opentelemetry/sdk/logs/read_write_log_record.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ReadWriteLogRecord final : public ReadableLogRecord
8282
* Get body field of this log.
8383
* @return the body field for this log.
8484
*/
85-
#if OPENTELEMETRY_ABI_VERSION_NO >= 2
85+
#if !defined(OPENTELEMETRY_DEPRECATED_SDK_LOG_RECORD)
8686
const common::OwnedAttributeValue &
8787
#else
8888
const opentelemetry::common::AttributeValue &

0 commit comments

Comments
 (0)