notan 0.14.0

A simple portable multimedia layer to create apps or games easily
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use notan::log;
use notan::prelude::*;

#[notan_main]
fn main() -> Result<(), String> {
    notan::init()
        .add_config(log::LogConfig::debug())
        .initialize(start)
        .build()
}

fn start() {
    log::debug!("Hello, this is a debug log...");
    log::info!("And this is a info log!");
    log::warn!("I'm warning you");
    log::error!("I'm an error, I told you...");
}