Function bevy_ecs::system::adapter::info

source ·
pub fn info<T: Debug>(In: In<T>)
👎Deprecated: use .map(bevy_utils::info) instead
Expand description

System adapter that utilizes the [bevy_utils::tracing::info!] macro to print system information.

Examples

use bevy_ecs::prelude::*;

// Building a new schedule/app...
let mut sched = Schedule::default();
sched.add_systems(
        // Prints system information.
        data_pipe_system.pipe(system_adapter::info)
    )
    // ...

// A system that returns a String output.
fn data_pipe_system() -> String {
    "42".to_string()
}