Skip to content

Logs API/SDK - Move LogRecord implementation details from API to SDK #1189

Closed
@lalitb

Description

@lalitb

As of now, the Logs API contains the implementation details for creation of LogRecord object. This should be ideally moved to SDK. The API should have minimal implementation details and storage allocation, and hence minimal performance overhead. Anyone wanting to create custom logs SDK will otherwise have to bear the baggage of these allocations happening in API.

This is also how trace signal is implemented, API has a Span trait, and it's Noop implementation, while the implementation details are in the Span structure in SDK.

Metadata

Metadata

Assignees

Labels

A-logArea: Issues related to logspriority:p2Medium priority issues and bugs.release:required-for-stableMust be resolved before GA release, or nice to have before GA.triage:acceptedHas been triaged and accepted.version:breakingTag PR which will make breaking changes. Same as bumping the "major" in semver. https://semver.org/

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions