1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#![no_main] #![feature(start)] extern crate olin; use olin::{log, entrypoint}; entrypoint!(); fn main() -> Result<(), std::io::Error> { let string = "hi"; log::error(&string); log::warning(&string); log::info(&string); Ok(()) }