Skip to content
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

move once from bevy_log to bevy_utils, to allow for it's use in bevy_ecs #11419

Merged
merged 3 commits into from
Jan 19, 2024

Conversation

lee-orr
Copy link
Contributor

@lee-orr lee-orr commented Jan 19, 2024

Objective

When working within bevy_ecs, we can't use the log_once macros due to their placement in bevy_log - which depends on bevy_ecs. All this create does is migrate those macros to the bevy_utils crate, while still re-exporting them in bevy_log.

created to resolve this: #11417 (comment)

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it A-Diagnostics Logging, crash handling, error reporting and performance analysis A-Utils Utility functions and types labels Jan 19, 2024
@lee-orr lee-orr mentioned this pull request Jan 19, 2024
@alice-i-cecile
Copy link
Member

Merging as trivial :) This has come up before, and others were in favor. This also isn't a breaking change currently since we haven't made a release.

auto-merge was automatically disabled January 19, 2024 00:17

Head branch was pushed to by a user without write access

@lee-orr
Copy link
Contributor Author

lee-orr commented Jan 19, 2024

@alice-i-cecile - had to fix the docs, so merge was disabled

@alice-i-cecile alice-i-cecile added this pull request to the merge queue Jan 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 19, 2024
@mockersf mockersf added this pull request to the merge queue Jan 19, 2024
Merged via the queue into bevyengine:main with commit e9b8c71 Jan 19, 2024
22 checks passed
@doonv doonv mentioned this pull request Jan 22, 2024
16 tasks
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 A-Utils Utility functions and types S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants