Function init

Source
pub fn init(app_name: &str, app_version: &str)
Expand description

Configure the application log according to env variable, without failing in case of io error.

If the log file cannot be created, the error is printed to stderr, then the application proceeds without logging.