Skip to content

Add missing doc comments for log_diagnostics_plugin #19261

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

theotherphil
Copy link
Contributor

Objective

Fill some of the missing docs from bevy_diagnostics.

@theotherphil theotherphil added the C-Docs An addition or correction to our documentation label May 17, 2025
@janhohenheim janhohenheim added D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward A-Diagnostics Logging, crash handling, error reporting and performance analysis labels May 17, 2025
@@ -52,6 +58,7 @@ impl Plugin for LogDiagnosticsPlugin {
}

impl LogDiagnosticsPlugin {
/// Filter logging to only the paths in `filter`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/// Filter logging to only the paths in `filter`.
/// Filter logging to only the paths in [`Self::filter`].

Copy link
Contributor Author

@theotherphil theotherphil May 18, 2025

Choose a reason for hiding this comment

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

I think this suggestion would make the comment less clear, as this function is setting/overriding the current value of Self::filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Diagnostics Logging, crash handling, error reporting and performance analysis C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants