Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

allow users to filter out certainhandle_in messages#5943

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cocoa-xu wants to merge1 commit intophoenixframework:main
base:main
Choose a base branch
Loading
fromcocoa-xu:cx-customize-handle-in-logging

Conversation

@cocoa-xu
Copy link

When running in dev mode there can be quite a lothandle_in messages being logged, and it would be better if we can filter out certain messages, e.g., filter out the ones that have already been verified to work and just log the ones I'm interested in or currently debugging.

Signed-off-by: Cocoa <i@uwucocoa.moe>
@cocoa-xucocoa-xuforce-pushed thecx-customize-handle-in-logging branch from5df0824 tofacaabcCompareOctober 3, 2024 03:04
tw00
tw00 approved these changesOct 3, 2024
edited
Loading
@josevalim
Copy link
Member

Instead of making this a compile-time configuration, perhaps we can make it a socket one? Perhaps an API that adds a filter to thesocket? For example, on join, we could do:

log_filter(socket,&some_function/1)

@SteffenDE
Copy link
Contributor

Is there still interest to move this forward? :)

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@tw00tw00tw00 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@cocoa-xu@josevalim@SteffenDE@tw00

[8]ページ先頭

©2009-2025 Movatter.jp