Function android_log::init [] [src]

pub fn init<S: Into<String>>(tag: S) -> Result<(), SetLoggerError>

Initializes the global logger with an AndroidLogger

This should be called early in the execution of a Rust program and the global logger may only be initialized once. Future attempts will return an error.