From 4337a9fcfa903699a10c29f9de5f3ec14b94ff09 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Tue, 23 Jul 2024 15:31:05 +0300 Subject: [PATCH] chore: add indent --- .../src/opentelemetry/instrumentation/logging/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py b/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py index f5bad18b71..64c0bd7fda 100644 --- a/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py +++ b/instrumentation/opentelemetry-instrumentation-logging/src/opentelemetry/instrumentation/logging/__init__.py @@ -67,10 +67,9 @@ def log_hook(span: Span, record: LogRecord): Args: tracer_provider: Tracer provider instance that can be used to fetch a tracer. set_logging_format: When set to True, it calls logging.basicConfig() and sets - a logging format. + a logging format. logging_format: Accepts a string and sets it as the logging format when - set_logging_format - is set to True. + set_logging_format is set to True. log_level: Accepts one of the following values and sets the logging level to it. logging.INFO logging.DEBUG