cute-log 2.2.0

Simple and cute logger for log crate


Rust Documentation

Simple and cute log


fn main() {
    const LOGGER: cute_log::Logger = cute_log::Logger::new();
    let _ = LOGGER.set_logger();
    log::info!("it works!");

Available features

  • timestamp - Enables timestamp in logs. Enabled by default.
  • std - Enables use of std feature to provide RUST_LOG handling.

Log level control

The logger is made without any builtin filters.

You can either control logs through compile time features of log crate. Or use set_max_level.

Supported platforms

  • Android - via NDK logging library, therefore it must be linked.
  • Wasm - via web console API.
  • Any other platform with std available.