MCPcopy Create free account
hub / github.com/TanTanDev/runity / init_logger

Function init_logger

rust/shared/src/log_plugin.rs:75–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75pub fn init_logger() {
76 let mut log_api_option = LOG_API.lock().unwrap();
77 let log_api_result = LogApi::new("runity.dll");
78 if let Ok(log_api) = log_api_result {
79 *log_api_option = Some(log_api);
80 }
81
82 let _init_result = CombinedLogger::init(vec![
83 Box::new(GameDllLogger),
84 ]);
85}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected