We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09f4f2 commit ad1d688Copy full SHA for ad1d688
opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal/__init__.py
@@ -237,6 +237,7 @@ def __init__( # pylint:disable=too-many-locals
237
warnings.warn(
238
"LogRecord will be removed in 1.39.0 and replaced by ReadWriteLogRecord and ReadableLogRecord",
239
LogDeprecatedInitWarning,
240
+ stacklevel=2,
241
)
242
if not context:
243
context = get_current()
@@ -365,6 +366,7 @@ def __init__(
365
366
367
"LogData will be removed in 1.39.0 and replaced by ReadWriteLogRecord and ReadableLogRecord",
368
369
370
371
self.log_record = log_record
372
self.instrumentation_scope = instrumentation_scope
0 commit comments