Improve javadoc for CustomRequestLog.setFilter

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2021-04-26 16:46:53 +10:00
parent 61ead137b2
commit 988e158db3
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ public class CustomRequestLog extends ContainerLifeCycle implements RequestLog
/**
* This allows you to set a custom filter to decide whether to log a request or omit it from the request log.
* This filter is evaluated after path filtering is applied from {@link #setIgnorePaths(String[])}.
* @param filter - a BiPredicate which returns true if this request should be logged.
*/
public void setFilter(BiPredicate<Request, Response> filter)