Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

:dep log = "0.4.14"
use log::{info, trace, warn};
:dep simple_logger = "1.11.0"
use simple_logger::SimpleLogger;
SimpleLogger::new().init().unwrap();
info!("nima");
log::info!("nima");
^^^ use of undeclared crate or module `log`
failed to resolve: use of undeclared crate or module `log`
warn!("what happend?");
warn!("what happend?");
^^^^ 
cannot find macro `warn` in this scope