rest-assured/src/main/java/io/restassured/filter/log/ResponseLoggingFilter.java
public static Filter logResponseToIfMatches(PrintStream stream, Matcher<Integer> matcher) {
        return new ResponseLoggingFilter(stream, matcher);
    }
public static Filter logResponseToIfMatches(PrintStream stream, Matcher<Integer> matcher) {
        return new ResponseLoggingFilter(stream, matcher);
    }
Create a new logging filter without using the "new" operator.
Will make the DSL look nicer.

@param stream The print stream to log to
@param matcher The matcher that must be fulfilled in order for logging to occur
@return a new instance of the filter