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
Fixes#6986
This PR adds a `Clone()` method to the `log.Record` type.
The `Clone` method returns a copy of the record with no shared state,
allowing both the original and the clone to be modified independently.
This functionality mirrors the existing `sdk/log.Record.Clone()`
behavior and includes a corresponding unit test (`TestRecordClone`) to
ensure correctness.
---------
Co-authored-by: Robert Pająk <[email protected]>
0 commit comments