pub fn tracing_switch_to_bool(
    switch: Switch,
    user_defaults: &UserDefaults
) -> Result<bool, String>