Network Logging Service
Logs network calls made by the application. The Embrace SDK intercepts the calls and reports them to the API.
Functions
Link copied to clipboard
public abstract NetworkSessionV2 getNetworkCallsForSession(long startTime, long lastKnownTime)
Content copied to clipboard
Get the calls and counts of network calls (which exceed the limit) within the specified time range.
Link copied to clipboard
Link copied to clipboard
public abstract void logNetworkError( @NonNull() String url, @NonNull() String httpMethod, long startTime, long endTime, String errorType, String errorMessage, String traceId, @Nullable() NetworkCaptureData networkCaptureData)
Content copied to clipboard
Logs an exception which occurred when attempting to make a network call.