bevy/crates/bevy_gizmos/src
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
..
primitives ✏️ Fix typos across bevy (#16702) 2024-12-08 01:18:39 +00:00
aabb.rs Reflect derived traits on all components and resources: bevy_gizmos (#15217) 2024-09-15 14:41:49 +00:00
arcs.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
arrows.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
circles.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
config.rs Add dashed lines (#16884) 2024-12-18 20:43:58 +00:00
cross.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
curves.rs Refactor non-core Curve methods into extension traits (#16930) 2024-12-29 19:26:49 +00:00
gizmos.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
grid.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
lib.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
light.rs Implement From translation and rotation for isometries (#15733) 2024-10-08 16:09:28 +00:00
line_joints.wgsl Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00
lines.wgsl Add dashed lines (#16884) 2024-12-18 20:43:58 +00:00
pipeline_2d.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
pipeline_3d.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
retained.rs Remove tracing re-export from bevy_utils (#17161) 2025-01-05 23:06:34 +00:00
rounded_box.rs Retained Gizmos (#15473) 2024-12-04 21:21:06 +00:00