Skip to content

Commit

Permalink
Include comment explaining re-export.
Browse files Browse the repository at this point in the history
Co-Authored-By: Alice Cecile <[email protected]>
  • Loading branch information
bushrat011899 and alice-i-cecile committed Oct 16, 2024
1 parent c171598 commit 90872cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ pub use time::*;
pub use tracing;

#[cfg(not(feature = "tracing"))]
// In cases where the tracing crate cannot be used, we can instead rely on log to
// provide most of the required functionality.
// Exporting log as tracing allows this decision to have minimal impact on consumers.
pub use log as tracing;

#[cfg(feature = "alloc")]
Expand Down

0 comments on commit 90872cc

Please sign in to comment.