Add functions converting standard attributes to log attributes. _Originally posted by @pellared in https://github.com/open-telemetry/opentelemetry-specification/issues/4201#issuecomment-2332304811_ CC @bogdandrutu