Simple and cute log
rust
fn main() {
cute_log::init();
log::info!("it works!");
}
timestamp
- Enables timestamp in logs. Enabled by default.color
- Enables coloring of log level. Enabled by default, but not for wasm32
targetThe logger is made without any builtin filters.
You can either control logs through compile time features of log
crate.
Or use set_max_level
.
std
available.