Minimal wrapper over android logging facilities.
std
- Enablesstd::io::Write
implementation.
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!");