opentelemetry.sdk._logs._internal.LogDeprecatedInitWarning: LogRecord init with trace_id, span_id, and/or trace_flags is deprecated since 1.35.0. Use context instead.
I think the emit function should be edited to match the new deprecation warning.
When I use it for test in another package, it fails.