TLDR tim pointed out an issue with the documentation for logging using opentelemetry. nitya-signoz provided an updated example.
The reason why logs is in a private module is because logs are still experimental, so apparently the api is changing without warning a lot at this point. Dang.
Thanks for mentioning it.
Yes, it seems to be updated. Please look at the latest example here
tim
Wed, 24 May 2023 21:27:22 UTCLooks like there is an issue with the documentation, for logging references `opentelemetry.sdk._logs.set_log_emitter_provider`, which is no longer provider by `pentelemetry.sdk._logs`