Function bevy_ecs::system::adapter::info

source ·
pub fn info<T: Debug>(In: In<T>)
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()
}