Skip to content

Commit

Permalink
Fixes open-telemetry#3088 updated import library for set_logger_provider
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-jj committed Jan 5, 2023
1 parent b184dc9 commit c298ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/logs/example.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import logging

from opentelemetry import trace
from opentelemetry._logs import set_logger_provider
from opentelemetry.exporter.otlp.proto.grpc._log_exporter import (
OTLPLogExporter,
)
from opentelemetry.sdk._logs import (
LoggerProvider,
LoggingHandler,
set_logger_provider,
)
from opentelemetry.sdk._logs.export import BatchLogRecordProcessor
from opentelemetry.sdk.resources import Resource
Expand Down

0 comments on commit c298ecb

Please sign in to comment.