Commit daae23b
authored
opentelemetry-sdk: be less picky about deprecated LogRecord interface (#4762)
All code that is emitting API LogRecords will emit this warnings because
the conversion code need to pass the deprecated fields because of Event
still using these fields.
In the meantime we cleanup that warn only if we are not already using
context.1 parent da15594 commit daae23b
File tree
1 file changed
+7
-7
lines changed- opentelemetry-sdk/src/opentelemetry/sdk/_logs/_internal
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | 237 | | |
245 | 238 | | |
246 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| |||
0 commit comments