bevy/tools/example-showcase
Zachary Harrold a371ee3019
Remove tracing re-export from bevy_utils (#17161)
# Objective

- Contributes to #11478

## Solution

- Made `bevy_utils::tracing` `doc(hidden)`
- Re-exported `tracing` from `bevy_log` for end-users
- Added `tracing` directly to crates that need it.

## Testing

- CI

---

## Migration Guide

If you were importing `tracing` via `bevy::utils::tracing`, instead use
`bevy::log::tracing`. Note that many items within `tracing` are also
directly re-exported from `bevy::log` as well, so you may only need
`bevy::log` for the most common items (e.g., `warn!`, `trace!`, etc.).
This also applies to the `log_once!` family of macros.

## Notes

- While this doesn't reduce the line-count in `bevy_utils`, it further
decouples the internal crates from `bevy_utils`, making its eventual
removal more feasible in the future.
- I have just imported `tracing` as we do for all dependencies. However,
a workspace dependency may be more appropriate for version management.
2025-01-05 23:06:34 +00:00
..
src Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00
asset-source-website.patch Fix asset-source-website.patch line number (#13286) 2024-05-12 20:49:43 +00:00
Cargo.toml Generate links to definition in source code pages on docs.rs and dev-docs.bevyengine.org (#12965) 2024-07-29 23:10:16 +00:00
disable-audio.patch Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
extra-window-resized-events.patch fix: upgrade to winit v0.30 (#13366) 2024-06-03 13:06:48 +00:00
fixed-window-position.patch Fix window position patch (#14745) 2024-08-15 13:55:15 +00:00
reduce-light-cluster-config.patch Regenerate light cluster patch file (#13655) 2024-06-03 18:19:32 +00:00
remove-desktop-app-mode.patch Update hashbrown to 0.15 (#15801) 2024-12-10 19:45:50 +00:00
window-settings-wasm.patch Remove Implicit std Prelude from no_std Crates (#17086) 2025-01-03 01:58:43 +00:00