Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSeufert authored and Karen Xu committed Dec 4, 2020
1 parent 77fd8a4 commit e0dd7a7
Show file tree
Hide file tree
Showing 4 changed files with 79 additions and 94 deletions.
10 changes: 5 additions & 5 deletions api/include/opentelemetry/logs/log_record.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct LogRecord
trace::TraceId trace_id; // byte sequence
trace::SpanId span_id; // byte sequence
trace::TraceFlags trace_flags; // byte
Severity severity; // Severity enum that combines severity_text and severity_number
Severity severity; // Severity enum that combines severity_text and severity_number

// other fields that will not be set by default
nostd::string_view name; // string
Expand All @@ -94,10 +94,10 @@ struct LogRecord
LogRecord()
{
// Assign default values
timestamp = core::SystemTimestamp(std::chrono::seconds(0));
severity = Severity::kDefault;
trace_id = trace::TraceId();
span_id = trace::SpanId();
timestamp = core::SystemTimestamp(std::chrono::seconds(0));
severity = Severity::kDefault;
trace_id = trace::TraceId();
span_id = trace::SpanId();
trace_flags = trace::TraceFlags();
}

Expand Down
Loading

0 comments on commit e0dd7a7

Please sign in to comment.