File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/opentelemetry/sdk/_logs/_internal Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ def __init__( # pylint:disable=too-many-locals
235235 event_name : str | None = None ,
236236 ):
237237 warnings .warn (
238- "LogRecord will be substituted in 1.39.0 by ReadWriteLogRecord and ReadableLogRecord" ,
238+ "LogRecord will be removed in 1.39.0 and replaced by ReadWriteLogRecord and ReadableLogRecord" ,
239239 LogDeprecatedInitWarning ,
240240 stacklevel = 0 ,
241241 )
Original file line number Diff line number Diff line change @@ -240,7 +240,7 @@ def test_log_record_init_deprecated_warning(self):
240240 # Check the message content of the LogRecordInitDeprecatedWarning
241241 warning_message = str (log_record_init_warnings [0 ].message )
242242 self .assertIn (
243- "LogRecord will be substituted in 1.39.0 by ReadWriteLogRecord and ReadableLogRecord" ,
243+ "LogRecord will be removed in 1.39.0 and replaced by ReadWriteLogRecord and ReadableLogRecord" ,
244244 warning_message ,
245245 )
246246
You can’t perform that action at this time.
0 commit comments