Crates.io | androidy-log |
lib.rs | androidy-log |
version | 1.0.4 |
source | src |
created_at | 2021-02-17 14:50:16.494432 |
updated_at | 2021-12-12 13:28:37.965736 |
description | Minimal wrapper over android logging |
homepage | |
repository | https://github.com/DoumanAsh/androidy-log |
max_upload_size | |
id | 356488 |
size | 11,797 |
Minimal wrapper over android logging facilities.
std
- Enables std::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!");