pub fn try_init_logging(config: LogConfig)
Attempts to initialize the logging system, ignoring duplicate initialization errors.
Suitable for test environments where multiple calls should not panic.