set_response_filter


Description:

public void set_response_filter (owned LoggerFilter response_filter)

Sets up a filter to determine the log level for a given response.

For each HTTP response this will invoke response_filter to determine how much (if any) of that response to log. (If you do not set a response filter, this will just always log responses at the level passed to Logger.)

Parameters:

this

a Logger

response_filter

the callback for response debugging

destroy

a DestroyNotify to free filter_data

filter_data

data to pass to the callback