Function bevy::ecs::prelude::info

pub fn info<T>(_: In<T>)where
    T: Debug,
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_system(
        // 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()
}