mirror of https://github.com/sgoudham/rall.git
Add main.rs for quick testing
parent
ae5f62816a
commit
ec3a31d810
@ -0,0 +1,11 @@
|
||||
use rall::{Level, SimpleLogger};
|
||||
|
||||
fn main() {
|
||||
let mut logger = SimpleLogger::default();
|
||||
logger.log(Level::TRACE, "My Best Friend Hazel :D");
|
||||
logger.log(Level::DEBUG, "My Best Friend Hazel :D");
|
||||
logger.log(Level::INFO, "My Best Friend Hazel :D");
|
||||
logger.log(Level::WARN, "My Best Friend Hazel :D");
|
||||
logger.log(Level::ERROR, "My Best Friend Hazel :D");
|
||||
logger.log(Level::CRITICAL, "My Best Friend Hazel :D");
|
||||
}
|
Loading…
Reference in New Issue