Skip to content

Commit

Permalink
Update GettingStarted.rst (gabime#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamedprog authored Feb 2, 2022
1 parent 033b16f commit a320739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/public/sdk/GettingStarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ There are two different mechanisms to create TraceProvider instance
sdktrace::TracerProvider(std::move(simple_processor), resource, std::move(always_on_sampler));
// set the global tracer TraceProvider
opentelemetry::trace::Provider::SetTracerProvider(provider);
opentelemetry::trace::Provider::SetTracerProvider(tracer_provider);
Logging and Error Handling
Expand Down Expand Up @@ -220,4 +220,4 @@ The custom log handler can be defined by inheriting from `opentelemetry::sdk::co
}
};
opentelemetry::sdk::common::internal_log::GlobalLogHandler::SetLogHandler(CustomLogHandler());
opentelemetry::sdk::common::internal_log::GlobalLogHandler::SetLogLevel(opentelemetry::sdk::common::internal_log::LogLevel::Debug);
opentelemetry::sdk::common::internal_log::GlobalLogHandler::SetLogLevel(opentelemetry::sdk::common::internal_log::LogLevel::Debug);

0 comments on commit a320739

Please sign in to comment.