Skip to content

Commit

Permalink
Fix the reference to tracer provider in ETW logger exporter (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan authored Oct 29, 2021
1 parent 32cd66b commit 838d962
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class Logger : public logs::Logger
evt[ETW_FIELD_TIME] = utils::formatUtcTimestampMsAsISO8601(millis);
}
# endif
const auto &cfg = GetConfiguration(tracerProvider_);
const auto &cfg = GetConfiguration(loggerProvider_);
if (cfg.enableSpanId)
{
evt[ETW_FIELD_SPAN_ID] = ToLowerBase16(span_id);
Expand Down

0 comments on commit 838d962

Please sign in to comment.