function (type) {
					var log = jQuery.sap.log.getLogEntries(),
						loggedObjects = [], elemIds;

					// Add logEntries that have support info object,
					// and that have the same type as the type provided
					log.forEach(function (logEntry) {
						if (!logEntry.supportInfo) {
							return;
						}

						if (!elemIds){
							elemIds = elements.map(function (element) {
								return element.getId();
							});
						}

						var hasElemId = !!logEntry.supportInfo.elementId,
							typeMatch =
								logEntry.supportInfo.type === type || type === undefined,
							scopeMatch =
								!hasElemId ||
								jQuery.inArray(logEntry.supportInfo.elementId, elemIds) > -1;

						/**
						 * Give the developer the ability to pass filtering function
						 */
						if (typeof type === "function" && type(logEntry) && scopeMatch) {
							loggedObjects.push(logEntry);
							return;
						}

						if (typeMatch && scopeMatch) {
							loggedObjects.push(logEntry);
						}
					});

					return loggedObjects;
				}
function (type) {
					var log = jQuery.sap.log.getLogEntries(),
						loggedObjects = [], elemIds;

					// Add logEntries that have support info object,
					// and that have the same type as the type provided
					log.forEach(function (logEntry) {
						if (!logEntry.supportInfo) {
							return;
						}

						if (!elemIds){
							elemIds = elements.map(function (element) {
								return element.getId();
							});
						}

						var hasElemId = !!logEntry.supportInfo.elementId,
							typeMatch =
								logEntry.supportInfo.type === type || type === undefined,
							scopeMatch =
								!hasElemId ||
								jQuery.inArray(logEntry.supportInfo.elementId, elemIds) > -1;

						/**
						 * Give the developer the ability to pass filtering function
						 */
						if (typeof type === "function" && type(logEntry) && scopeMatch) {
							loggedObjects.push(logEntry);
							return;
						}

						if (typeMatch && scopeMatch) {
							loggedObjects.push(logEntry);
						}
					});

					return loggedObjects;
				}
function ( type ) { var log = jQuery . sap . log . getLogEntries ( ) , loggedObjects = [ ] , elemIds ; // Add logEntries that have support info object, // and that have the same type as the type provided log . forEach ( function ( logEntry ) { if ( ! logEntry . supportInfo ) { return ; } if ( ! elemIds ) { elemIds = elements . map ( function ( element ) { return element . getId ( ) ; } ) ; } var hasElemId = ! ! logEntry . supportInfo . elementId , typeMatch = logEntry . supportInfo . type === type || type === undefined , scopeMatch = ! hasElemId || jQuery . inArray ( logEntry . supportInfo . elementId , elemIds ) > - 1 ; /**
						 * Give the developer the ability to pass filtering function
						 */ if ( typeof type === "function" && type ( logEntry ) && scopeMatch ) { loggedObjects . push ( logEntry ) ; return ; } if ( typeMatch && scopeMatch ) { loggedObjects . push ( logEntry ) ; } } ) ; return loggedObjects ; }
Gets the logged objects by object type
@public
@function
@param {any} type Type of logged objects
@returns {Array} Array of logged objects
@alias sap.ui.support.ExecutionScope.getLoggedObjects
Gets the logged objects by object type
Returns an array of logged objects that match the type provided