<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_log_events(self, user_id, page=0, per_page=50, sort=None, include_totals=False):
 """Retrieve every log event for a specific user id Args: user_id (str):
 The user_id of the logs to retrieve page (int, optional):
 The result's page number (zero based). per_page (int, optional):
 The amount of entries per page. Default: 50. Max value: 100 sort (str, optional):
 The field to use for sorting. Use field:order where order is 1 for ascending and -1 for descending. For example date:-1 include_totals (bool, optional):
 True if the query summary is to be included in the result, False otherwise. See: https://auth0.com/docs/api/management/v2#!/Users/get_logs_by_user """


        params = {
            'per_page': per_page,
            'page': page,
            'include_totals': str(include_totals).lower(),
            'sort': sort
        }

        url = self._url('{}/logs'.format(user_id))
        return self.client.get(url, params=params)