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.


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... | |
|
pure virtualnoexcept |
Set instrumentation_scope for this log.
| instrumentation_scope | the instrumentation scope to set |
Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.
|
pure virtualnoexcept |
Set instrumentation_scope for this log.
| instrumentation_scope | the instrumentation scope to set |
Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.
|
pure virtualnoexcept |
Set Resource of this log.
| resource | the resource to set |
Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.
|
pure virtualnoexcept |
Set Resource of this log.
| resource | the resource to set |
Implemented in sdk::logs::ReadWriteLogRecord, sdk::logs::ReadWriteLogRecord, sdk::logs::MultiRecordable, and sdk::logs::MultiRecordable.