NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::logs::Recordable Class Referenceabstract

Detailed Description

Maintains a representation of a log in a format that can be processed by a recorder.

This class is thread-compatible.

Definition at line 30 of file includes/opentelemetry/sdk/logs/recordable.h.

Inheritance diagram for sdk::logs::Recordable:
Collaboration diagram for sdk::logs::Recordable:

Public Member Functions

virtual void SetResource (const opentelemetry::sdk::resource::Resource &resource) noexcept=0
 Set Resource of this log. More...
 
virtual void SetInstrumentationScope (const opentelemetry::sdk::instrumentationscope::InstrumentationScope &instrumentation_scope) noexcept=0
 Set instrumentation_scope for this log. More...
 
virtual void SetResource (const opentelemetry::sdk::resource::Resource &resource) noexcept=0
 Set Resource of this log. More...
 
virtual void SetInstrumentationScope (const opentelemetry::sdk::instrumentationscope::InstrumentationScope &instrumentation_scope) noexcept=0
 Set instrumentation_scope for this log. More...
 

Member Function Documentation

◆ SetInstrumentationScope() [1/2]

virtual void sdk::logs::Recordable::SetInstrumentationScope ( const opentelemetry::sdk::instrumentationscope::InstrumentationScope &  instrumentation_scope)
pure virtualnoexcept

Set instrumentation_scope for this log.

Parameters
instrumentation_scopethe instrumentation scope to set

Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.

◆ SetInstrumentationScope() [2/2]

virtual void sdk::logs::Recordable::SetInstrumentationScope ( const opentelemetry::sdk::instrumentationscope::InstrumentationScope &  instrumentation_scope)
pure virtualnoexcept

Set instrumentation_scope for this log.

Parameters
instrumentation_scopethe instrumentation scope to set

Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.

◆ SetResource() [1/2]

virtual void sdk::logs::Recordable::SetResource ( const opentelemetry::sdk::resource::Resource &  resource)
pure virtualnoexcept

Set Resource of this log.

Parameters
resourcethe resource to set

Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.

◆ SetResource() [2/2]

virtual void sdk::logs::Recordable::SetResource ( const opentelemetry::sdk::resource::Resource &  resource)
pure virtualnoexcept

Set Resource of this log.

Parameters
resourcethe resource to set

Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.


The documentation for this class was generated from the following file: