Skip to content

chore: replace explicit logContext passing with bound version, add info logs#1908

Open
lukasIO wants to merge 1 commit intolukas/logging-improvementsfrom
lukas/logging-1
Open

chore: replace explicit logContext passing with bound version, add info logs#1908
lukasIO wants to merge 1 commit intolukas/logging-improvementsfrom
lukas/logging-1

Conversation

@lukasIO
Copy link
Copy Markdown
Contributor

@lukasIO lukasIO commented Apr 21, 2026

No description provided.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 21, 2026

⚠️ No Changeset found

Latest commit: 3a8db07

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@lukasIO lukasIO marked this pull request as ready for review April 29, 2026 14:43
@lukasIO lukasIO requested a review from 1egoman April 29, 2026 14:43
Comment on lines -961 to -963
{
...this.logContext,
},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Is there a good reason this shallow copy was being done here, and if so does a shallow copy need to be done in the ContextProvider like () => ({ ...this.logContext })?

Comment thread src/room/RTCEngine.ts
Comment on lines 228 to +231
private log = log;

private reconnectLog = log;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: Just in general, what do you have in mind with this pattern? Potentially creating n different -Log suffixed entries for each different type of log?

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.

2 participants