Skip to content

Comments

Forward logs to parent window in widget configuration#3698

Draft
Half-Shot wants to merge 1 commit intolivekitfrom
hs/fowarded-logging
Draft

Forward logs to parent window in widget configuration#3698
Half-Shot wants to merge 1 commit intolivekitfrom
hs/fowarded-logging

Conversation

@Half-Shot
Copy link
Member

Uses matrix-org/matrix-widget-api#160.

Still needs the ability to forward prior logs.

this.logs += line;

this.emit(ConsoleLoggerEvent.Log);
this.emit(ConsoleLoggerEvent.Log, level.toString(), args);
Copy link
Member Author

Choose a reason for hiding this comment

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

Note to self the log is in numeric form here, we need to translate back into a sensible level.

Copy link
Member

@BillCarsonFr BillCarsonFr left a comment

Choose a reason for hiding this comment

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

Could it be possible to have an example of how it will look like in the web logs?
Will it have a custom prefix or something?
🙏

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