Function android_logger::init_once

source ·
pub fn init_once(config: Config)
Expand description

Initializes the global logger with an android logger.

This can be called many times, but will only initialize logging once, and will not replace any other previously initialized logger.

It is ok to call this at the activity creation, and it will be repeatedly called on every lifecycle restart (i.e. screen rotation).