Skip to content

Commit

Permalink
Fix MockLogRecordable
Browse files Browse the repository at this point in the history
Signed-off-by: owent <admin@owent.net>
  • Loading branch information
owent committed Feb 15, 2023
1 parent f39ffb3 commit 469eb1c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions sdk/test/logs/logger_sdk_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,14 @@ class MockLogRecordable final : public opentelemetry::sdk::logs::Recordable

void CopyFrom(const MockLogRecordable &other)
{
severity_ = other.severity_;
body_ = other.body_;
trace_id_ = other.trace_id_;
span_id_ = other.span_id_;
trace_flags_ = other.trace_flags_;
event_name_ = other.event_name_;
event_domain_ = other.event_domain_;
severity_ = other.severity_;
body_ = other.body_;
trace_id_ = other.trace_id_;
span_id_ = other.span_id_;
trace_flags_ = other.trace_flags_;
event_name_ = other.event_name_;
event_domain_ = other.event_domain_;
observed_timestamp_ = other.observed_timestamp_;
}

private:
Expand Down

0 comments on commit 469eb1c

Please sign in to comment.