Crate androidy_log[−][src]
Expand description
Minimal wrapper over Android logging facilities.
Features:
std
- Enablesstd::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!");
Macros
eprintln
alternative to write message with ERROR priority.
println
alternative to write message with INFO priority.
Structs
Android log writer.
Enums
Priority of the log message.