try_init_logging

Function try_init_logging 

Source
pub fn try_init_logging(config: LogConfig)
Expand description

Attempts to initialize the logging system, ignoring duplicate initialization errors.

Suitable for test environments where multiple calls should not panic.