#log #android

androidy-log

Minimal wrapper over android logging

1 stable release

1.0.4 Dec 12, 2021
1.0.3 Apr 2, 2021
1.0.2 Feb 18, 2021
1.0.1 Feb 17, 2021

#78 in #android

Download history 18/week @ 2022-08-01 24/week @ 2022-08-08 9/week @ 2022-08-15 25/week @ 2022-08-22 14/week @ 2022-08-29 30/week @ 2022-09-05 20/week @ 2022-09-12 9/week @ 2022-09-19 12/week @ 2022-09-26 24/week @ 2022-10-03 13/week @ 2022-10-10 10/week @ 2022-10-17 20/week @ 2022-10-24 26/week @ 2022-10-31 23/week @ 2022-11-07 19/week @ 2022-11-14

88 downloads per month
Used in 3 crates (2 directly)

BSL-1.0 license

12KB
235 lines

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!");

lib.rs:

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!");

No runtime deps

Features

  • std