Simple logging utility implemented in Rust for Rust. Thread safe implementation, loggers can be moved or created in threads, file and stdout output will not be corrupted!
Compiling the test may be done using bash cargo run or if you have Odin installed bash odin build
Easiest is to just copy Rustylog.rs and paste it into your project.
Writer::Init(); // Very important to execute before creating any loggers
let mut myLogger = Logger::new("Main");
myLogger.info("Logger created!");
Writer::clean_up(); // Not always needed but not doing it can lead to missing log msgs.