Logger.setRequestFilter

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

class Logger
void
setRequestFilter

Parameters

requestFilter SoupLoggerFilter

the callback for request debugging

filterData void*

data to pass to the callback

destroy GDestroyNotify

a #GDestroyNotify to free @filter_data

Meta