pub fn build_entry(
ctx: &Context,
log_format: Option<&HashMap<String, LogFormatValue>>,
include_req_body: bool,
include_resp_body: bool,
) -> ValueExpand description
Builds a log entry for ctx.
When log_format is Some, produces a flat object whose string entries
are rendered from their pre-parsed templates. When None, produces the
default structured entry. include_req_body / include_resp_body add the
(UTF-8 lossy) bodies.