Function create_log_with_trace_id

Source
pub fn create_log_with_trace_id(
    nel: Annotated<NetworkReportRaw>,
    received_at: DateTime<Utc>,
    trace_id: Option<TraceId>,
) -> Option<OurLog>
Expand description

Creates a OurLog from the provided NetworkReportRaw with an optional trace ID. If trace_id is None, a random one will be generated.