fn safe_log_request(
    log_query: bool,
    request: &SuggestionRequest,
    query_params: &SuggestQueryParameters
)
Expand description

Log a suggestion request, respecting the log_query setting passed, and formatting all fields in a way that is helpful to our downstream log handlers. This primarily means that fields don’t generate internal stringified JSON.