Registry / logging / android-logger

android-logger

JSON →
library0.15.1rscratesunverified

A logging implementation for `log` which hooks to android log output.

# Cargo.toml [dependencies] android_logger = "0.15.1"
INSTALL
IMPORT
SIG · ANDROID-LOGGER
A
android-logger
loggingrustv0.15.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

init_once
use android_logger::init_once;

Initialize Android logging and log a message.

use android_logger::init_once; use log::info; fn main() { init_once(Default::default()); info!("Hello from Android"); }
Debug
Known issues
gotchaOnly works on Android targets; will panic on other platforms.
fix
Use conditional compilation or check target_os before calling.
affects: >=0.15.0
Upgrade
Version history
0.15.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
32
OpenAI (training)
1
Resources
android-logger — cargo add android-logger · libregistry