bevy/tools
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
..
build-templated-pages More combinator cleanup (#17148) 2025-01-05 02:44:29 +00:00
build-wasm-example Fix common capitalization errors in documentation (#14562) 2024-07-31 21:16:05 +00:00
ci Add no_std support to bevy_window (#17031) 2025-01-01 23:05:25 +00:00
compile_fail_utils Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00
example-showcase Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
publish.sh Remove bevy_core (#16897) 2024-12-19 18:36:51 +00:00