androidy-log

Crates.ioandroidy-log
lib.rsandroidy-log
version1.0.4
sourcesrc
created_at2021-02-17 14:50:16.494432
updated_at2021-12-12 13:28:37.965736
descriptionMinimal wrapper over android logging
homepage
repositoryhttps://github.com/DoumanAsh/androidy-log
max_upload_size
id356488
size11,797
Douman (DoumanAsh)

documentation

README

androidy-log

Rust Crates.io Documentation

Minimal wrapper over android logging facilities.

Features:

  • std - Enables std::io::Write implementation.

Usage

use androidy_log::{LogPriority, Writer};

use core::fmt::Write;

let mut writer = Writer::new("MyTag", LogPriority::INFO);
let _ = write!(writer, "Hellow World!");
drop(writer); //or writer.flush();

androidy_log::println!("Hello via macro!");
androidy_log::eprintln!("Error via macro!");
Commit count: 5

cargo fmt