setRequestFilter

fun setRequestFilter(requestFilter: LoggerFilter)

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 ctor@Logger.new.)

Parameters

requestFilter

the callback for request debugging