Skip to content

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

Merged
mockersf merged 3 commits intobevyengine:mainfrom
lee-orr:log_once_in_utils
Jan 19, 2024
Merged

move once from bevy_log to bevy_utils, to allow for it's use in bevy_ecs#11419
mockersf merged 3 commits intobevyengine:mainfrom
lee-orr:log_once_in_utils

Conversation

@lee-orr
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@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