def get_log_events(self, user_id, page=0, per_page=50, sort=None,
                       include_totals=False):
        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)