Skip to content

Commit

Permalink
Fixes #3088 updated import library for set_logger_provider (#3113)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-jj authored Jan 6, 2023
1 parent b184dc9 commit af83ef1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/examples/logs/example.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
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 import LoggerProvider, LoggingHandler
from opentelemetry.sdk._logs.export import BatchLogRecordProcessor
from opentelemetry.sdk.resources import Resource
from opentelemetry.sdk.trace import TracerProvider
Expand Down

0 comments on commit af83ef1

Please sign in to comment.