Function initialize_with_log_prefix

Source
pub fn initialize_with_log_prefix(
    handle: Handle,
    env_var_log_prefix: Option<String>,
)
Expand description

Initialize the Hyperactor runtime. Specifically:

  • Set up panic handling, so that we get consistent panic stack traces in Actors.
  • Initialize logging defaults.
  • Store the provided tokio runtime handle for use by the hyperactor system.
  • Set the env var whose value should be used to prefix log messages.