question: public void infoLogResponse ( Response response ) { String prettyResponse = prettyResponse ( response ) ; if ( responseLogLengthLimit > 0 && prettyResponse . length ( ) > responseLogLengthLimit ) { prettyResponse = prettyResponse . substring ( 0 , responseLogLengthLimit ) + "... (cut off for the log)" ; } logger . info ( "Response as string: " + prettyResponse ) ; }
target:  Writes the response to log at the INFO level