AFNetworking / AFHTTPRequestOperationLogger

AFNetworking Extension for HTTP Request Logging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filter log messages by AFHTTPClient instance

kolyuchiy opened this issue · comments

In my project I have two singleton instances of different subclasses of AFHTTPClient for different external APIs. How can I filter log messages by AFHTTPClient instance or by subclass name?

Set the filterPredicate to ignore operations whose request URL host is equal to the hostname of the client you want to ignore.