Skip to content

DLR-FT/xng-rs-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xng-rs-log

This implements a logger that uses XalPutChar from the XAL. See also xng-rs.

#![no_std]

use xng_rs_log::XalLogger;

static LOGGER: XalLogger = XalLogger;

#[no_mangle]
pub extern "C" fn main() {
    unsafe { log::set_logger_racy(&LOGGER).unwrap() };
    log::set_max_level(log::LevelFilter::Info);
    // Run your code
}

About

Logger using XNG console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages