Skip to main content

get_script_handle

Function get_script_handle 

Source
pub fn get_script_handle() -> Option<&'static ScriptLogHandle>
Expand description

Retrieves the global script log handle instance.

This function provides access to the singleton ScriptLogHandle instance. Returns None if the handle has not been initialized yet.

ยงReturns

  • Some(&ScriptLogHandle) - Reference to the global handle if initialized
  • None - If the handle has not been initialized