function(logger) {
			if (typeof logger != "object"
				|| typeof logger.info != "function"
				|| typeof logger.debug != "function"
				|| typeof logger.warning != "function"
				|| typeof logger.error != "function"
			) {
				throw new Error("Logger is not valid. It should implement at least the functions: info, debug, warning, error.");
			}
			_private.oLog = logger;
		}
function(logger) {
			if (typeof logger != "object"
				|| typeof logger.info != "function"
				|| typeof logger.debug != "function"
				|| typeof logger.warning != "function"
				|| typeof logger.error != "function"
			) {
				throw new Error("Logger is not valid. It should implement at least the functions: info, debug, warning, error.");
			}
			_private.oLog = logger;
		}
function ( logger ) { if ( typeof logger != "object" || typeof logger . info != "function" || typeof logger . debug != "function" || typeof logger . warning != "function" || typeof logger . error != "function" ) { throw new Error ( "Logger is not valid. It should implement at least the functions: info, debug, warning, error." ) ; } _private . oLog = logger ; }
Sets a custom logger for the log messages of the RequestRecorder.
The logger objects needs to implement the following functions: info, debug, warning, error

@param {object} logger The log object with the required functions.
Sets a custom logger for the log messages of the RequestRecorder . The logger objects needs to implement the following functions : info debug warning error
Sets the logger