You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Whether to log a whole object or a subset of its properties (e.g. unique ID, or memory address) — this will depend on factors such as whether we’ve already logged the full object at some point or not, or how crucial for debugging it is to have access to all of the properties of the object
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:
ProtocolMessage
s received from or sent to AblyARTRetryAttempt
which describe a decision taken by the SDKWe 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
The text was updated successfully, but these errors were encountered: