macroquad 0.2.9

Simple and easy to use graphics library
Documentation
//! Macroquad expose all the logging macros.
//! They will use browser console, android console or just stdout depending on the platform.
//! Those macros are the recommended way to output debug traces and logs.

use macroquad::*;

#[macroquad::main("Texture")]
async fn main() {
    debug!("This is a debug message");
    info!("and info message");
    error!("and errors, the red ones!");
    warn!("Or warnings, the yellow ones.");

    loop {
        clear_background(RED);
        
        debug!("Still alive!");

        next_frame().await
    }
}