ResponseDetective icon indicating copy to clipboard operation
ResponseDetective copied to clipboard

Add response filtering method.

Open poszposz opened this issue 7 years ago • 1 comments

Currently there is a method available to filter logged requests: ignoreRequests(matchingPredicate predicate: NSPredicate)

The goal here is to create a method with the same idea to filter responses that are logged into console.

Motivation - I've integrated the library into the app and instantly deintegrated it due to amount of logged stuff that became totally unreadable. Single logs are really useful and readable, but I want to filter only responses that failed for some reason to investigate possible bugs.

poszposz avatar Jul 05 '18 08:07 poszposz

Another approach to this might be to ask what about a request gets logged i.e. do you want the whole response body logged, or just the metadata / headers etc?

deanWombourne avatar Sep 19 '19 14:09 deanWombourne