Skip to content

[logs-api/sdk] Rename several classes from Log to LogRecord #4647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hectorhdzg
Copy link
Member

@hectorhdzg hectorhdzg commented Jun 19, 2025

Description

Rename the following classes to maintain consistency with specs and other languages implementations.

LogData to LogRecordData
LogLimits to LogRecordLimits
LogExporter to LogRecordExporter
LogExportResult to LogRecordExportResult
ConsoleLogExporter to ConsoleLogRecordExporter
InMemoryLogExporter to InMemoryLogRecordExporter
LogDeprecatedInitWarning to LogRecordDeprecatedInitWarning
LogDroppedAttributesWarning to LogRecordDroppedAttributesWarning

Fixes #4321

Type of change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Does This PR Require a Contrib Repo Change?

@hectorhdzg hectorhdzg requested a review from a team as a code owner June 19, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Logs SDK: consider renaming *LogExporter to *LogRecordExporter and similar for consistency
1 participant