Logger.setResponseFilter

Sets up a filter to determine the log level for a given response. For each HTTP response @logger will invoke @response_filter to determine how much (if any) of that response to log. (If you do not set a response filter, @logger will just always log responses at the level passed to soup_logger_new().)

class Logger
void
setResponseFilter

Parameters

responseFilter SoupLoggerFilter

the callback for response debugging

filterData void*

data to pass to the callback

destroy GDestroyNotify

a #GDestroyNotify to free @filter_data

Meta