rest-assured/src/main/java/io/restassured/config/LogConfig.java
public LogConfig defaultStream(PrintStream printStream) {
        return new LogConfig(printStream, true, logDetailIfValidationFails, urlEncodeRequestUri, true);
    }
public LogConfig defaultStream(PrintStream printStream) {
        return new LogConfig(printStream, true, logDetailIfValidationFails, urlEncodeRequestUri, true);
    }
Specify a new default stream to the print to.

@param printStream The stream
@return A new LogConfig instance