logNetworkCall

public abstract void logNetworkCall(    @NonNull() String url,     @NonNull() String httpMethod,     int statusCode,     long startTime,     long endTime,     long bytesSent,     long bytesReceived,     String traceId,     @Nullable() NetworkCaptureData networkCaptureData)

Logs a HTTP network call.

Parameters

url

the URL being called

httpMethod

the HTTP method

statusCode

the status code from the response

startTime

the start time of the request

endTime

the end time of the request

bytesSent

the number of bytes sent

bytesReceived

the number of bytes received

traceId

optional trace ID that can be used to trace a particular request

networkCaptureData

the additional data captured if network body capture is enabled for the URL