This crate provides simple and cute logger.
timestamp- Enables timestamps in logs by means of
chrono. Enabled by default
timestampand attempts to use local time. Implies
std- Enables use of
stdfeature to provide
const LOGGER: cute_log::Logger = cute_log::Logger::new(); LOGGER.set_max_level(cute_log::log::LevelFilter::Info); let _ = LOGGER.set_logger(); log::info!("it works!");
The logger is made without any builtin filters.
You can either control logs through compile time features of
set_max_level from the
- Android - via NDK logging library, therefore it must be linked.
- Wasm - via web console API.
- Any other platform with
Simple Logger implementation