-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Merged by Bors] - [Fixes #6224] Add logging variants of system piping #6751
[Merged by Bors] - [Fixes #6224] Add logging variants of system piping #6751
Conversation
…ts to ``system_piping.rs``
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am so keen to get these added to Bevy itself: this pattern is incredibly useful.
I've left some suggestions for better documentation.
Great! I will try to implement these suggestions right away. |
Please run |
Once you've fixed up reviewers' comments, please resolve the conversation so others can see what still needs to be fixed :) |
… ``warn`` and ``error``
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice.
In the future, I think we should look into ways of including the input system's name in these error messages.
Yeah, I agree! I thought about implementing something like that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is so nice. I'm looking forward to using these aggresively.
@Edwox if you get a chance before I merge this, can you add these adaptors to the |
Sure, I'll get right on it! |
…nd ``ignore`` to the ``bevy_ecs::prelude``
@Edwox Once CI is passing I'll merge this. Please ping me if I forget! |
bors r+ |
# Objective Fixes #6224, add ``dbg``, ``info``, ``warn`` and ``error`` system piping adapter variants to expand #5776, which call the corresponding re-exported [bevy_log macros](https://docs.rs/bevy/latest/bevy/log/macro.info.html) when the result is an error. ## Solution * Added ``dbg``, ``info``, ``warn`` and ``error`` system piping adapter variants to ``system_piping.rs``. * Modified and added tests for these under examples in ``system_piping.rs``.
…gine#6751) # Objective Fixes bevyengine#6224, add ``dbg``, ``info``, ``warn`` and ``error`` system piping adapter variants to expand bevyengine#5776, which call the corresponding re-exported [bevy_log macros](https://docs.rs/bevy/latest/bevy/log/macro.info.html) when the result is an error. ## Solution * Added ``dbg``, ``info``, ``warn`` and ``error`` system piping adapter variants to ``system_piping.rs``. * Modified and added tests for these under examples in ``system_piping.rs``.
…gine#6751) # Objective Fixes bevyengine#6224, add ``dbg``, ``info``, ``warn`` and ``error`` system piping adapter variants to expand bevyengine#5776, which call the corresponding re-exported [bevy_log macros](https://docs.rs/bevy/latest/bevy/log/macro.info.html) when the result is an error. ## Solution * Added ``dbg``, ``info``, ``warn`` and ``error`` system piping adapter variants to ``system_piping.rs``. * Modified and added tests for these under examples in ``system_piping.rs``.
Objective
Fixes #6224, add
dbg
,info
,warn
anderror
system piping adapter variants to expand #5776, which call the corresponding re-exported bevy_log macros when the result is an error.Solution
dbg
,info
,warn
anderror
system piping adapter variants tosystem_piping.rs
.system_piping.rs
.