Skip to content
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

Decide how to represent objects and values in log messages #1637

Open
lawrence-forooghian opened this issue Apr 10, 2023 · 1 comment
Open
Labels
enhancement New feature or improved functionality.
Milestone

Comments

@lawrence-forooghian
Copy link
Collaborator

lawrence-forooghian commented Apr 10, 2023

Background

The log messages emitted by the SDK frequently wish to include objects and other non-primitive values. For example, the inputs and outputs described in #1623, as well as objects used to make the internal decisions described in that issue.

For example, these might be:

  • arguments of methods
  • objects such as ProtocolMessages received from or sent to Ably
  • objects like ARTRetryAttempt which describe a decision taken by the SDK

We need to decide the process by which these objects should be serialized to a form that can be logged, and what factors might affect this process. This will affect the internal logging API (#1617) and potentially the public logging API (#1628).

Factors to consider:

What factors (e.g. configuration, log level) might affect the above decisions?

┆Issue is synchronized with this Jira Task by Unito

@lawrence-forooghian lawrence-forooghian added this to the Logging milestone Apr 10, 2023
@sync-by-unito
Copy link

sync-by-unito bot commented Apr 10, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3519

@umair-ably umair-ably added the enhancement New feature or improved functionality. label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improved functionality.
Development

No branches or pull requests

2 participants