// Constrain results between optionl start/end dates using a SQLQuerylet log =await BackgroundGeolocation.logger.getLog({ start: Date.parse("2019-10-21 13:00"), // <-- optional HH:mm:ss end: Date.parse("2019-10-22")});// Or just a start datelet log =await BackgroundGeolocation.logger.getLog({ start: Date.parse("2019-10-21 13:00")});// Or just an end dateBackgroundGeolocation.logger.uploadLog("http://my.server.com/users/123/logs", { end: Date.parse("2019-10-21")));// Select first 100 records from loglet Logger = BackgroundGeolocation.logger;Logger.emailLog("foo@bar.com", { order: Logger.ORDER_ASC, limit: 100));// Select most recent 100 records from loglet Logger = BackgroundGeolocation.logger;Logger.emailLog("foo@bar.com", { order: Logger.ORDER_DESC, limit: 100));
Used for selecting a range of records from the SDK"s database. Used with the methods: