From ec3a31d810b36dc46dac9e6faebd77ab0c706faf Mon Sep 17 00:00:00 2001 From: Hammy Date: Sat, 2 Apr 2022 00:23:33 +0100 Subject: [PATCH] Add main.rs for quick testing --- src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main.rs diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..23c0490 --- /dev/null +++ b/src/main.rs @@ -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"); +} \ No newline at end of file