Maintains a representation of a log in a format that can be processed by a recorder.
This class is thread-compatible.
Definition at line 33 of file includes/opentelemetry/sdk/logs/read_write_log_record.h.
|
| | ReadWriteLogRecord () |
| |
| | ~ReadWriteLogRecord () override |
| |
| void | SetTimestamp (opentelemetry::common::SystemTimestamp timestamp) noexcept override |
| | Set the timestamp for this log. More...
|
| |
| opentelemetry::common::SystemTimestamp | GetTimestamp () const noexcept override |
| | Get the timestamp of this log. More...
|
| |
| void | SetObservedTimestamp (opentelemetry::common::SystemTimestamp timestamp) noexcept override |
| | Set the observed timestamp for this log. More...
|
| |
| opentelemetry::common::SystemTimestamp | GetObservedTimestamp () const noexcept override |
| | Get the observed timestamp of this log. More...
|
| |
| void | SetSeverity (opentelemetry::logs::Severity severity) noexcept override |
| | Set the severity for this log. More...
|
| |
| opentelemetry::logs::Severity | GetSeverity () const noexcept override |
| | Get the severity of this log. More...
|
| |
| void | SetBody (const opentelemetry::common::AttributeValue &message) noexcept override |
| | Set body field for this log. More...
|
| |
| const opentelemetry::sdk::common::OwnedAttributeValue & | GetBody () const noexcept override |
| | Get body field of this log. More...
|
| |
| void | SetEventId (int64_t id, nostd::string_view name) noexcept override |
| | Set the Event Id object. More...
|
| |
| int64_t | GetEventId () const noexcept override |
| | Get event Id of this log. More...
|
| |
| nostd::string_view | GetEventName () const noexcept override |
| | Get event name of this log. More...
|
| |
| void | SetTraceId (const opentelemetry::trace::TraceId &trace_id) noexcept override |
| | Set the trace id for this log. More...
|
| |
| const opentelemetry::trace::TraceId & | GetTraceId () const noexcept override |
| | Get the trace id of this log. More...
|
| |
| void | SetSpanId (const opentelemetry::trace::SpanId &span_id) noexcept override |
| | Set the span id for this log. More...
|
| |
| const opentelemetry::trace::SpanId & | GetSpanId () const noexcept override |
| | Get the span id of this log. More...
|
| |
| void | SetTraceFlags (const opentelemetry::trace::TraceFlags &trace_flags) noexcept override |
| | Inject trace_flags for this log. More...
|
| |
| const opentelemetry::trace::TraceFlags & | GetTraceFlags () const noexcept override |
| | Inject trace_flags of this log. More...
|
| |
| void | SetAttribute (nostd::string_view key, const opentelemetry::common::AttributeValue &value) noexcept override |
| | Set an attribute of a log. More...
|
| |
| const std::unordered_map< std::string, opentelemetry::sdk::common::OwnedAttributeValue > & | GetAttributes () const noexcept override |
| | Get attributes of this log. More...
|
| |
| const opentelemetry::sdk::resource::Resource & | GetResource () const noexcept override |
| | Get resource of this log. More...
|
| |
| void | SetResource (const opentelemetry::sdk::resource::Resource &resource) noexcept override |
| | Set Resource of this log. More...
|
| |
| const opentelemetry::sdk::instrumentationscope::InstrumentationScope & | GetInstrumentationScope () const noexcept override |
| | Get instrumentation_scope of this log. More...
|
| |
| void | SetInstrumentationScope (const opentelemetry::sdk::instrumentationscope::InstrumentationScope &instrumentation_scope) noexcept override |
| | Set instrumentation_scope for this log. More...
|
| |
| | ReadWriteLogRecord () |
| |
| | ~ReadWriteLogRecord () override |
| |
| void | SetTimestamp (opentelemetry::common::SystemTimestamp timestamp) noexcept override |
| | Set the timestamp for this log. More...
|
| |
| opentelemetry::common::SystemTimestamp | GetTimestamp () const noexcept override |
| | Get the timestamp of this log. More...
|
| |
| void | SetObservedTimestamp (opentelemetry::common::SystemTimestamp timestamp) noexcept override |
| | Set the observed timestamp for this log. More...
|
| |
| opentelemetry::common::SystemTimestamp | GetObservedTimestamp () const noexcept override |
| | Get the observed timestamp of this log. More...
|
| |
| void | SetSeverity (opentelemetry::logs::Severity severity) noexcept override |
| | Set the severity for this log. More...
|
| |
| opentelemetry::logs::Severity | GetSeverity () const noexcept override |
| | Get the severity of this log. More...
|
| |
| void | SetBody (const opentelemetry::common::AttributeValue &message) noexcept override |
| | Set body field for this log. More...
|
| |
| const opentelemetry::sdk::common::OwnedAttributeValue & | GetBody () const noexcept override |
| | Get body field of this log. More...
|
| |
| void | SetEventId (int64_t id, nostd::string_view name) noexcept override |
| | Set the Event Id object. More...
|
| |
| int64_t | GetEventId () const noexcept override |
| | Get event Id of this log. More...
|
| |
| nostd::string_view | GetEventName () const noexcept override |
| | Get event name of this log. More...
|
| |
| void | SetTraceId (const opentelemetry::trace::TraceId &trace_id) noexcept override |
| | Set the trace id for this log. More...
|
| |
| const opentelemetry::trace::TraceId & | GetTraceId () const noexcept override |
| | Get the trace id of this log. More...
|
| |
| void | SetSpanId (const opentelemetry::trace::SpanId &span_id) noexcept override |
| | Set the span id for this log. More...
|
| |
| const opentelemetry::trace::SpanId & | GetSpanId () const noexcept override |
| | Get the span id of this log. More...
|
| |
| void | SetTraceFlags (const opentelemetry::trace::TraceFlags &trace_flags) noexcept override |
| | Inject trace_flags for this log. More...
|
| |
| const opentelemetry::trace::TraceFlags & | GetTraceFlags () const noexcept override |
| | Inject trace_flags of this log. More...
|
| |
| void | SetAttribute (nostd::string_view key, const opentelemetry::common::AttributeValue &value) noexcept override |
| | Set an attribute of a log. More...
|
| |
| const std::unordered_map< std::string, opentelemetry::sdk::common::OwnedAttributeValue > & | GetAttributes () const noexcept override |
| | Get attributes of this log. More...
|
| |
| const opentelemetry::sdk::resource::Resource & | GetResource () const noexcept override |
| | Get resource of this log. More...
|
| |
| void | SetResource (const opentelemetry::sdk::resource::Resource &resource) noexcept override |
| | Set Resource of this log. More...
|
| |
| const opentelemetry::sdk::instrumentationscope::InstrumentationScope & | GetInstrumentationScope () const noexcept override |
| | Get instrumentation_scope of this log. More...
|
| |
| void | SetInstrumentationScope (const opentelemetry::sdk::instrumentationscope::InstrumentationScope &instrumentation_scope) noexcept override |
| | Set instrumentation_scope for this log. More...
|
| |
| virtual nostd::string_view | GetSeverityText () const noexcept |
| | Get the severity text of this log. More...
|
| |
| virtual nostd::string_view | GetSeverityText () const noexcept |
| | Get the severity text of this log. More...
|
| |